
#15857: Need for better warnings arising from StarIsType extension -------------------------------------+------------------------------------- Reporter: jrp | Owner: (none) Type: feature request | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.6.1 Resolution: | Keywords: StarIsType | NoStarIsType 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: | -------------------------------------+------------------------------------- Comment (by int-index): I designed `-Wstar-binder` specifically for this purpose, and it is enabled by default. {{{ Prelude> :set -XTypeOperators Prelude> type (*) = (,) <interactive>:2:7: warning: [-Wstar-binder] Found binding occurrence of ‘*’ yet StarIsType is enabled. NB. To use (or export) this operator in modules with StarIsType, including the definition module, you must qualify it. }}} Are you not seeing it for some reason or do you think the wording needs improvement? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15857#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler