
#13628: Confusing error message with TypeApplications already enabled -------------------------------------+------------------------------------- Reporter: nh2 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Poor/confusing Unknown/Multiple | error message Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I have `{-# LANGUAGE TypeApplications #-}` in my file, and accidentally wrote a typo: `myFunction@a` (missing space, intended was `myFunction @a`). GHC 8.0.2 outputs: {{{ Pattern syntax in expression context: myFunction@a Did you mean to enable TypeApplications? }}} I already have TypeApplications on, why does GHC suggest this? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13628 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler