[GHC] #15284: Can't parse ''(*) in GHC HEAD
GHC
ghc-devs at haskell.org
Sun Jun 17 20:04:09 UTC 2018
#15284: Can't parse ''(*) in GHC HEAD
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.6.1
Component: Compiler | Version: 8.5
(Parser) |
Resolution: | Keywords:
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 goldfire):
If that was ever accepted without `-XTypeOperators`, regardless of
`-XStarIsType`, it's a bug. After all, you are quoting a type operator.
Note, however, that `-XStarIsType` is on by default, and therefore `*` is
not considered an infix operator in types (by default). So it's as if you
wrote `''(Type)`, which indeed is an error.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15284#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list