Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
6440f81f
Commit
6440f81f
authored
Jun 17, 2002
by
simonpj
Browse files
[project @ 2002-06-17 11:24:30 by simonpj]
Record correct location for fixity errors
parent
f179e855
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/rename/RnEnv.lhs
View file @
6440f81f
...
...
@@ -497,7 +497,8 @@ mkTopFixityEnv gbl_env fix_sigs
-- add both to the fixity env
go fix_env (FixitySig rdr_name fixity loc)
= case catMaybes (map (lookup_local mod gbl_env) rdr_names) of
[] -> addErrRn (unknownNameErr rdr_name) `thenRn_`
[] -> pushSrcLocRn loc $
addErrRn (unknownNameErr rdr_name) `thenRn_`
returnRn fix_env
ns -> foldlRn add fix_env ns
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment