Reinstate untouchable variable error messages
This extra bit of information was accidentally being discarded after a refactoring of the way we reported problems when unifying a type variable with another type. See #23591 (closed)
This patch rectifies that.
TODO:
-
accept testsuite changes.
Merge request reports
Activity
added backport needed:9.6 backport needed:9.8 labels
added 1 commit
- b0dc18a9 - Reinstate untouchable variable error messages
mentioned in issue #23591 (closed)
@mpickering: could I ask to squeeze this into 9.6.3?
Better!
Does this give a more helpul message in Mikolaj's example?
It would be good to have a regression test. Currently we have none. Sadly, the simple ones I describe in #23591 (closed) do not cough up an untouchable error because the untouchable variable is skolemised. But that's not the fault of your patch
added 1 commit
- 8c1e1724 - Reinstate untouchable variable error messages
mentioned in issue #23589
assigned to @marge-bot
I will attempt to batch this MR (!10812 (closed))...
Merged in 2b55cb5f
mentioned in merge request !10924 (closed)
changed milestone to %9.8.1
removed backport needed:9.8 label
mentioned in issue #23590 (closed)
mentioned in merge request !11203 (merged)
Backported to %9.6.3 in !11203 (merged)
removed backport needed:9.6 label