
#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