[GHC] #9083: symbol constructors declared prefix missing a leading colon are accepted

#9083: symbol constructors declared prefix missing a leading colon are accepted -------------------------------------+------------------------------------- Reporter: aavogt | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Parser) | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+------------------------------------- {{{ data M = (++) Int data N = (⌐) Int data Ok = (:++) Int -- correctly accepted }}} I believe ghc should reject M and N. Instead `M` and `N` are accepted, but there seems to be no way to use that constructor (besides say a Data instance) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9083 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9083: symbol constructors declared prefix missing a leading colon are accepted --------------------------------------+------------------------------------ Reporter: aavogt | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler (Parser) | Version: 7.8.2 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: Thanks for the report; it's a duplicate of #8556. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9083#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC