added bindingkind verification

This commit is contained in:
Masashi 2025-12-15 17:02:43 +05:30
commit b959e11e51
11 changed files with 448 additions and 98 deletions

7
test_scoping.sui Normal file
View file

@ -0,0 +1,7 @@
fn test_scoping() -> int do
let x = 5
let f = lambda (y) y + 1 # simple lambda
f = lambda (z) z+1
let x = 10 # shadow x
f(3) # should work
end