[GHC] #12051: -.-> is accepted as a data constructor
GHC
ghc-devs at haskell.org
Thu May 12 15:50:21 UTC 2016
#12051: -.-> is accepted as a data constructor
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
{{{
data A = (-.->) Int
}}}
Is accepted by GHC without any complaints but `-.->` is not a valid data
constructor as it doesn't start with a `:`.
Anyone have any ideas about what is going on here?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12051>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list