isGadtSyntaxTyCon returns opposite result from expected
!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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.13 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |