14 lines
170 B
Plaintext
14 lines
170 B
Plaintext
# compare immutable-error.mu
|
|
|
|
def main [
|
|
local-scope
|
|
x:&:num <- new number:type
|
|
foo x
|
|
]
|
|
|
|
def foo x:&:num -> x:&:num [
|
|
local-scope
|
|
load-inputs
|
|
*x <- copy 34
|
|
]
|