Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
2e95d540
Commit
2e95d540
authored
Mar 18, 2002
by
simonpj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2002-03-18 15:22:31 by simonpj]
Remove spurious ? in linear implicit parameter printing
parent
b73019e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ghc/compiler/typecheck/TcMonad.lhs
ghc/compiler/typecheck/TcMonad.lhs
+2
-2
No files found.
ghc/compiler/typecheck/TcMonad.lhs
View file @
2e95d540
...
...
@@ -701,9 +701,9 @@ pprInstLoc (orig, locn, ctxt)
pp_orig (OccurrenceOf id)
= hsep [ptext SLIT("use of"), quotes (ppr id)]
pp_orig (IPOcc name)
= hsep [ptext SLIT("use of implicit parameter"), quotes (
char '?' <>
ppr name)]
= hsep [ptext SLIT("use of implicit parameter"), quotes (ppr name)]
pp_orig (IPBind name)
= hsep [ptext SLIT("binding for implicit parameter"), quotes (
char '?' <>
ppr name)]
= hsep [ptext SLIT("binding for implicit parameter"), quotes (ppr name)]
pp_orig RecordUpdOrigin
= ptext SLIT("a record update")
pp_orig DataDeclOrigin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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