Add location to the extra-constraints wildcard
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 13 Mar 2019 13:09:19 +0000 (13:09 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sat, 16 Mar 2019 12:08:25 +0000 (08:08 -0400)
commit600a1ac3829c2b216d2cc23a1e8256841ffe6466
tree9a3b97fbc6a6b2874f5297c332de09f5c0c9b462
parent4927117cd6166a97455d788dbf7433c95441b57a
Add location to the extra-constraints wildcard

The extra-constraints wildcard had lost its location
(issue #16431).

Happily this is easy to fix.  Lots of error improvements.
15 files changed:
compiler/typecheck/TcHsType.hs
testsuite/tests/partial-sigs/should_compile/SuperCls.stderr
testsuite/tests/partial-sigs/should_compile/T10519.stderr
testsuite/tests/partial-sigs/should_compile/T11016.stderr
testsuite/tests/partial-sigs/should_compile/T12844.stderr
testsuite/tests/partial-sigs/should_compile/T12845.stderr
testsuite/tests/partial-sigs/should_compile/T13482.stderr
testsuite/tests/partial-sigs/should_compile/T14217.stderr
testsuite/tests/partial-sigs/should_compile/T14643.stderr
testsuite/tests/partial-sigs/should_compile/T14643a.stderr
testsuite/tests/partial-sigs/should_compile/T14715.stderr
testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr
testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr
testsuite/tests/partial-sigs/should_fail/T11515.stderr
testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr