[GHC] #15645: TypeChecking of Monad patterns incorrect with RebindableSyntax and OverloadedStrings
GHC
ghc-devs at haskell.org
Fri Sep 14 09:32:48 UTC 2018
#15645: TypeChecking of Monad patterns incorrect with RebindableSyntax and
OverloadedStrings
-------------------------------------+-------------------------------------
Reporter: NeilMitchell | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by NeilMitchell):
Indeed, you can't use the name fail, which is unfortunate. The mysterious
messages about things already happens - I get an error about `[Char]` vs
`Text` - so the `IsString` thing is just the same consequence.
I'd view this as a bug fix (overloaded strings should imply even generated
strings are overloaded, if they are passed to user-controlled functions),
but happy to go through GHC proposal process.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15645#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list