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
Internal error 'conflicting contextual join decisions' after an array-length mismatch error #2313
On main (58b1448 and later), with check test/compile_errors/err_1478_array_len_mismatch.w reports the real error and then:
error: internal error: conflicting contextual join decisions for one expression (sig 274: first expected i32 [3] final i32 [3], now expected <error> [0] final i32 [3])
An internal error must not follow a user error: the second join decision sees the <error> type the first diagnostic produced. The test passes because it only checks the first message; the cascade is a defect (the join should skip an <error>-typed expectation, or the length mismatch should stop the re-check).
Triage 2026-10-25, with v0.15.3.0 (main a261b65): reproduced; the internal error still follows the user error.
$ with check test/compile_errors/err_1478_array_len_mismatch.w
error: array literal has 2 elements, but `[i32; 4]` holds 4 (§4.3a)
error: internal error: conflicting contextual join decisions for one expression (sig 355: first expected i32 [3] final i32 [3], now expected <error> [0] final isize [19])
pre-release: an internal error shown to users after an ordinary mistake; skipping <error> in the join is small.
Fixed on main by 2396bc9 (PR #2656, stack #2658; battery green on the stack top 48c1c72). The commit message names the root-cause line and the regression test.
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): reproduced; the internal error still follows the user error.pre-release: an internal error shown to users after an ordinary mistake; skipping
<error>in the join is small.Sema: a contextual join whose demand a reported error poisoned is a c…
ehartford commentedon Oct 25, 2026
Fixed on main by 2396bc9 (PR #2656, stack #2658; battery green on the stack top 48c1c72). The commit message names the root-cause line and the regression test.