We weren't expanding type synonyms when determining the
injective type variables of a type, leading to certain non-injective
families being mistakenly labeled as injective (Trac #12430). Easily fixed
with a tactical use of coreView.
Details
Details
- Reviewers
bgamari goldfire - Commits
- rGHC26e81e902816: Fix #12430 by expanding type synonyms in injTyVarsOfType
- Trac Issues
- #12430
make test TEST=T12430
Diff Detail
Diff Detail
- Repository
- rGHC Glasgow Haskell Compiler
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.