diff options
author | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-12 18:45:09 -0400 |
---|---|---|
committer | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-14 21:23:30 -0400 |
commit | 15ce9b45515415b0cbe606e9324a7858c9009c0b (patch) | |
tree | 1f0cfcabac29a165b1ae025563c8458f7ba14b0a /.gitignore | |
parent | fe0fa63ebe63862e5515a0deaf25f63825c238db (diff) | |
download | haskell-15ce9b45515415b0cbe606e9324a7858c9009c0b.tar.gz |
Don't mkNakedCastTy on something unsaturated
A recent commit added extra calls to mkNakedCastTy to satisfy
Note [The tcType invariant]. However, some of these casts were
being applied to unsaturated type family applications, which
caused ASSERTion failures in TcFlatten later on. This patch
is more judicious in using mkNakedCastTy to avoid this problem.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions