Skip to content

Commit eec3a6a

Browse files
committed
docs(soundness): restore the #826 ledger row lost in the main merge
The merge of main (c33da4f) kept #838's row and dropped #826's, while tools/soundness-anchors.sha256 still pinned test/test_block_scope.ml, so the soundness-ledger gate failed (property 3). Both rows now stand; the gate passes and the manifest needs no reseal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDiosfvobXq67wbduuK
1 parent c33da4f commit eec3a6a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/SOUNDNESS.adoc‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,15 @@ this reason until impl methods get distinct names.
239239
| `test_801_impl_methods_refused` (the AOT smoke pins `traits.affine`'s refusal
240240
in `expected_refusals`).
241241

242+
| #826
243+
| A block's `let` bindings end with the block in the type checker, as they
244+
already did in the resolver. `let x = "s"; if c { let x = 1; } x + 1` used
245+
to type-check as an `Int` and return the string `"s1"` at run time; it is now
246+
a type error, and an outer binding's type is back after any block.
247+
| `fixed`
248+
| `test/test_block_scope.ml` (if, bare and while blocks; the converse; a
249+
builtin shadowed in a block; the inner binding in scope).
250+
242251
| #838
243252
| On core wasm a local (parameter, let-bound closure) shadows a top-level
244253
function of the same name, as on the interpreter and Bun-ESM. The generic call

0 commit comments

Comments
 (0)