[GHC] #9096: GADT definition not accepted in prefix notation
#9096: GADT definition not accepted in prefix notation ------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | 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: | ------------------------------------+------------------------------------- Brian Nguyen writes on haskell-cafe: The following does not work: {{{ data Foo a where {Foo :: (->) a (Foo a)} }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9096> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9096: GADT definition not accepted in prefix notation -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"770e16fceee60db0c2f79e3b77f6fc619bc1d864/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="770e16fceee60db0c2f79e3b77f6fc619bc1d864" In splitHsFunType, take account of prefix (->) This fixes Trac #9096 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9096#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9096: GADT definition not accepted in prefix notation -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: merge Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by simonpj): * status: new => merge Comment: It's very much a corner case, but an easy merge to 7.8.3 so probably worth doing. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9096#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9096: GADT definition not accepted in prefix notation -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9096#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC