You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1babc35
Browse filesBrowse the repository at this point in the historyBrowse files
Keep numbered existential names distinct from other existential names
Why:
A numbered name can equal the base name of another existential, as
$a1 for the second 'a and for 'a1, and the printer then falls back to
internal name/stamp names. Names already given in the binding are
now skipped.
Diagnostic modified (comparing existentials):
Example:
type rec a2 = A2('a): a2
type rec a1 = A1('a1): a1
type rec a3 = A3('a): a3
let f = (A2(y), A1(x), A3(z)) => z == x
Before (text):
This has type: \"$a1/1011"
But it's being compared to something of type: \"$a1/1013"
After (text):
This has type: $a1
But it's being compared to something of type: $a2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kbf3gGhHjzBTXqSo8Dckpb
Signed-off-by: Christoph Knittel <ck@cca.io>
0 commit comments