
#11432: Cannot export operator newtype -------------------------------------+------------------------------------- Reporter: phadej | Owner: skvadrik Type: bug | Status: new Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 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 simonpj): Well `(-.->)` isn't (lexically) a data constructor either, so I have no idea why it worked before the commit but not after. If we understand why it worked before, we'd have a better chance of not messing something else up. I see {{{ qcname :: { Located RdrName } -- Variable or type constructor : qvar { $1 } | oqtycon_no_varcon { $1 } -- see Note [Type constructors in export list] }}} so obviously look carefully at that `Note` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11432#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler