Restructure typechecking modules
Some of the kind-checking and type-checking modules have become unruly.
Simon and I propose the new structure:
-
KcTyClsDecls will handle kind-checking and generalization of datatype declarations. (That is,
kcTyClGroupand children, including related functions in TcHsType) -
TcInstBinds will handle
tcInstDecls2and children -
TcTyConValidity will handle
checkValidTyConand children -
Fold the rest of TcInstDecls (essentially,
tcInstDecls1) into what's left of TcTyClsDecls. TcInstDecls is removed.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.2 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |