
#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