#4195: isGadtSyntaxTyCon returns opposite result from expected
---------------------------------+------------------------------------------
    Reporter:  illissius         |       Owner:  illissius
        Type:  bug               |      Status:  new      
    Priority:  normal            |   Component:  Compiler 
     Version:  6.13              |    Keywords:           
          Os:  Unknown/Multiple  |    Testcase:           
Architecture:  Unknown/Multiple  |     Failure:  Other    
---------------------------------+------------------------------------------
 !TyCon.isGadtSyntaxTyCon was returning False for GADTs and True for ADTs;
 this is because the !TyCon was being constructed with the value of
 h98_syntax in !TyTyClsDecls, rather than (not h98_syntax).

 Patch in a moment.

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