[GHC] #11957: DataKinds: lifting constructors whose identifier is a single character
GHC
ghc-devs at haskell.org
Wed Apr 20 17:40:51 UTC 2016
#11957: DataKinds: lifting constructors whose identifier is a single character
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Iceland_jack):
Thank you, that's unintuitive. Could the error message reflect this
syntax?
A more confusing error message is:
{{{
ghci> data I' = I'
ghci> ' I'
Ghci10.I'*** Exception: <interactive>:273:11-43: Irrefutable pattern
failed for pattern (char :: Char, rest') : _
ghci>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11957#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list