summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface/Ext
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2020-09-08 07:20:02 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2020-09-08 07:22:00 -0400
commit5e883375409efc2336da6295c7d81bd10b542210 (patch)
treebb555de9629f59d0bb7ae22c6a0a9e170537dabb /compiler/GHC/Iface/Ext
parentd4bc9f0de7992f60bce403731019829f6248cc2c (diff)
downloadhaskell-wip/T18648.tar.gz
Postpone associated tyfam default checks until after typecheckingwip/T18648
Previously, associated type family defaults were validity-checked during typechecking. Unfortunately, the error messages that these checks produce run the risk of printing knot-tied type constructors, which will cause GHC to diverge. In order to preserve the current error message's descriptiveness, this patch postpones these validity checks until after typechecking, which are now located in the new function `GHC.Tc.Validity.checkValidAssocTyFamDeflt`. Fixes #18648.
Diffstat (limited to 'compiler/GHC/Iface/Ext')
0 files changed, 0 insertions, 0 deletions