Draft: Core lint: Lint top-level non-rec bindings with correct RecFlag (#19516)
This patch arranges it so that top-level bindings are linted
group-by-group and with their correct RecFlag
. Before, CoreLint
treated all top-level bindings as one big recursive group.
Fixes #19516.