#3265: Type operators can be defined without the TypeOperators extension flag
-----------------------------------------+----------------------------------
Reporter: nibro | Owner: simonpj
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.2
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: rename/should_fail/T3265 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
-----------------------------------------+----------------------------------
Changes (by simonpj):
* testcase: => rename/should_fail/T3265
* status: new => closed
* resolution: => fixed
Comment:
Quite right thanks. Fixed by
{{{
Tue Jun 2 14:37:06 BST 2009 [email protected]
* Fix Trac #3265: type operators in type/class declarations
We should accept these:
data a :*: b = ....
or
data (:*:) a b = ...
only if -XTypeOperators is in force. And similarly class decls.
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3265#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs