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
56a8c8a6
Commit
56a8c8a6
authored
Oct 04, 2012
by
Simon Peyton Jones
Browse files
Comments only
parent
65e6470c
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/deSugar/MatchLit.lhs
View file @
56a8c8a6
...
...
@@ -107,7 +107,7 @@ dsOverLit' dflags (OverLit { ol_val = val, ol_rebindable = rebindable
, ol_witness = witness, ol_type = ty })
| not rebindable
, Just expr <- shortCutLit dflags val ty = dsExpr expr -- Note [Literal short cut]
| otherwise
= dsExpr witness
| otherwise
= dsExpr witness
\end{code}
Note [Literal short cut]
...
...
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