summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/Main.hs
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2019-12-05 16:47:34 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-12-11 14:12:55 -0500
commit2d1b9619e56e1a83fba9a630e7735adb8ac7c16a (patch)
tree27d20f3e760675e27dc874324dbbc02dfecc5ef0 /utils/ghc-pkg/Main.hs
parentf80c4a66ae219afa7bd4172441f4e94ba649c9d9 (diff)
downloadhaskell-2d1b9619e56e1a83fba9a630e7735adb8ac7c16a.tar.gz
Warn on inferred polymorphic recursion
Silly users sometimes try to use visible dependent quantification and polymorphic recursion without a CUSK or SAK. This causes unexpected errors. So we now adjust expectations with a bit of helpful messaging. Closes #17541 and closes #17131. test cases: dependent/should_fail/T{17541{,b},17131}
Diffstat (limited to 'utils/ghc-pkg/Main.hs')
0 files changed, 0 insertions, 0 deletions