erg/tests/should_err/mut.er
Shunsuke Shibayama 3c40fc35e9 fix: #193
and many bugs
2023-04-22 23:43:03 +09:00

3 lines
69 B
Python

n = !10
n.update! n -> n + 1 # OK
n.update! n -> n - 1 # ERR: n: Int