Commit 350e2b78 authored by Committed by Marge Bot
Don't zap to Any; error instead
This changes GHC's treatment of so-called Naughty Quantification Candidates to issue errors, instead of zapping to Any. Close #16775. No new test cases, because existing ones cover this well.
Showing with 298 additions and 124 deletions
testsuite/tests/dependent/should_compile/T14880-2.hs → testsuite/tests/dependent/should_fail/T14880-2.hs
testsuite/tests/dependent/should_compile/T14880.hs → testsuite/tests/dependent/should_fail/T14880.hs
testsuite/tests/dependent/should_compile/T15076.hs → testsuite/tests/dependent/should_fail/T15076.hs
testsuite/tests/dependent/should_compile/T15076b.hs → testsuite/tests/dependent/should_fail/T15076b.hs