mirror of
https://github.com/erg-lang/erg.git
synced 2025-12-23 05:36:48 +00:00
Fixed: * argument `_` of anonymous function disappears * els crashes * incomplete `.update!` codegen
9 lines
106 B
Python
9 lines
106 B
Python
i = !0
|
|
i.update! _ -> 1
|
|
i.update! i -> i * 3
|
|
assert i == 3
|
|
|
|
i.inc!()
|
|
assert i == 4
|
|
i.dec!()
|
|
assert i == 3
|