Refactoring around TyCon.isSynTyCon
* Document isSynTyCon better * Add isTypeSyonymTyCon for regular H98 type synonyms * Use isTypeSynonymTyCon rather than isSynTyCon where the former is really intended All arose as part of a bug I introduced when fixing Trac #9102, thinking that isSynTyCon meant H98 type syononyms. (cherry picked from commit 022f8750)
Showing
- compiler/main/PprTyThing.hs 1 addition, 1 deletioncompiler/main/PprTyThing.hs
- compiler/typecheck/TcInstDcls.lhs 3 additions, 4 deletionscompiler/typecheck/TcInstDcls.lhs
- compiler/typecheck/TcTyClsDecls.lhs 10 additions, 10 deletionscompiler/typecheck/TcTyClsDecls.lhs
- compiler/typecheck/TcTyDecls.lhs 4 additions, 4 deletionscompiler/typecheck/TcTyDecls.lhs
- compiler/typecheck/TcType.lhs 1 addition, 1 deletioncompiler/typecheck/TcType.lhs
- compiler/typecheck/TcValidity.lhs 1 addition, 1 deletioncompiler/typecheck/TcValidity.lhs
- compiler/types/TyCon.lhs 24 additions, 21 deletionscompiler/types/TyCon.lhs
Loading
Please register or sign in to comment