Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
7083 commits behind, 1 commit ahead of the upstream repository.
sheaf's avatar
sheaf authored
When looking up a record field in GHC.Rename.Env.lookupRecFieldOcc,
we could end up calling addUsedGRE on an exact Name, which would then
lead to a panic in the bestImport function: it would be incapable of
processing a GRE which is not local but also not brought into scope
by any imports (as it is referred to by its unique instead).

Fixes #23240
3ba77b36
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.