[GHC] #12051: -.-> is accepted as a data constructor

#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

#12051: -.-> is accepted as a data constructor -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * keywords: => newcomer -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12051#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12051: -.-> is accepted as a data constructor -------------------------------------+------------------------------------- Reporter: mpickering | Owner: simonpj Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * owner: => simonpj -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12051#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12051: -.-> is accepted as a data constructor
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: simonpj
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords: newcomer
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 Simon Peyton Jones

#12051: -.-> is accepted as a data constructor -------------------------------------+------------------------------------- Reporter: mpickering | Owner: simonpj Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | parser/should_fail/T12051 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * testcase: => parser/should_fail/T12051 * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12051#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC