#3125: TcTyFuns.flattenType: unexpected PredType
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                  
     Type:  bug               |         Status:  closed          
 Priority:  normal            |      Milestone:                  
Component:  Compiler          |        Version:  6.10.1          
 Severity:  normal            |     Resolution:  fixed           
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Changes (by chak):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 This has already been fixed in the 6.11, which fails to load the
 declaration with
 {{{
 /Users/chak/Code/haskell/main.hs:4:0:
     Illegal polymorphic or qualified type: (Num y) => y
     In the type synonym instance declaration for `Garbage'
 }}}
 Given that we already have an RC for 6.10.2, I think, it's too late to
 fiddle with the type checker just to get a better error message (and risk
 breaking something else along the way).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3125#comment:1>
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

Reply via email to