Repair a verified behavior in mikepopoloski/slang.
Repair a verified behavior in mikepopoloski/slang.: a task in OriGent-SFT-Data (Harbor dataset). When --allow-use-before-declare is enabled, unqualified name lookup can select the wrong declaration when a name is used before a same-named declaration in an inner scope while a declaration of that…
The task
When `--allow-use-before-declare` is enabled, unqualified name lookup can select the wrong declaration when a name is used before a same-named declaration in an inner scope while a declaration of that name is already visible in an enclosing scope. The compiler currently returns the later inner declaration; it must…
Part of henryen/OriGent-SFT-Data.