Make the LocalRdrEnv keep track of all the Names that are in scope
This allows us to give a sensible error message when a Template Haskell splice generates an occurrence without a binding site. Fixes Trac #5959 and #5971 MERGED from commit cb5a3f2d
Showing
- compiler/basicTypes/Name.lhs 1 addition, 1 deletioncompiler/basicTypes/Name.lhs
- compiler/basicTypes/RdrName.lhs 25 additions, 11 deletionscompiler/basicTypes/RdrName.lhs
- compiler/rename/RnEnv.lhs 22 additions, 3 deletionscompiler/rename/RnEnv.lhs
- compiler/rename/RnNames.lhs 3 additions, 3 deletionscompiler/rename/RnNames.lhs
- compiler/rename/RnTypes.lhs 1 addition, 1 deletioncompiler/rename/RnTypes.lhs
Loading
Please register or sign in to comment