Refactor invariants for FamInsts.
This commit mirrors work done in the commit for ClsInsts, 5efe9b... Specifically: - All FamInsts have *fresh* type variables. So, no more freshness work in addLocalFamInst Also: - Some pretty-printing code around FamInsts was cleaned up a bit This caused location information to be added to CoAxioms and index information to be added to FamInstBranches.
Showing
- compiler/iface/TcIface.lhs 2 additions, 1 deletioncompiler/iface/TcIface.lhs
- compiler/typecheck/FamInst.lhs 60 additions, 55 deletionscompiler/typecheck/FamInst.lhs
- compiler/typecheck/TcGenGenerics.lhs 3 additions, 2 deletionscompiler/typecheck/TcGenGenerics.lhs
- compiler/typecheck/TcInstDcls.lhs 93 additions, 51 deletionscompiler/typecheck/TcInstDcls.lhs
- compiler/typecheck/TcMType.lhs 11 additions, 5 deletionscompiler/typecheck/TcMType.lhs
- compiler/types/CoAxiom.lhs 30 additions, 10 deletionscompiler/types/CoAxiom.lhs
- compiler/types/Coercion.lhs 3 additions, 2 deletionscompiler/types/Coercion.lhs
- compiler/types/FamInstEnv.lhs 116 additions, 70 deletionscompiler/types/FamInstEnv.lhs
- compiler/vectorise/Vectorise/Generic/PAMethods.hs 3 additions, 1 deletioncompiler/vectorise/Vectorise/Generic/PAMethods.hs
- compiler/vectorise/Vectorise/Generic/PData.hs 5 additions, 3 deletionscompiler/vectorise/Vectorise/Generic/PData.hs
Please register or sign in to comment