
#8660: unexpected parsing error, "in" is treated as reserved word in type class constraints --------------------------------------+------------------------------------ Reporter: carter | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler (Parser) | Version: 7.7 Resolution: invalid | 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 => closed * resolution: => invalid Comment: Well, for better or worse, `in` is a keyword: see the [http://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-160002.2 language definition]. Some words like `hiding` have special significance only in particular places, but `in` isn't one of them. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8660#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler