[GHC] #15861: Cannot import (*) type operator
GHC
ghc-devs at haskell.org
Mon Nov 5 10:52:39 UTC 2018
#15861: Cannot import (*) type operator
-------------------------------------+-------------------------------------
Reporter: pgujjula | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.1
Keywords: | Operating System: Linux
Architecture: | Type of failure: GHC rejects
Unknown/Multiple | valid program
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
The (*) type operator cannot be imported from GHC.TypeLits. The following
code compiles in GHC 8.4.4 but fails in GHC 8.6.1 with "error: parse error
on input ‘*’"
{{{#!hs
{-# LANGUAGE TypeOperators #-}
import GHC.TypeLits (type (*))
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15861>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list