#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 simo...@microsoft.com
* 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
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs