about summary refs log tree commit diff stats
path: root/immutable_error.mu
diff options
context:
space:
mode:
Diffstat (limited to 'immutable_error.mu')
-rw-r--r--immutable_error.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/immutable_error.mu b/immutable_error.mu
index b75e2791..d6fbb639 100644
--- a/immutable_error.mu
+++ b/immutable_error.mu
@@ -2,11 +2,11 @@
 
 def main [
   local-scope
-  x:address:number <- new number:type
+  x:address:num <- new number:type
   foo x
 ]
 
-def foo x:address:number [
+def foo x:address:num [
   local-scope
   load-ingredients
   *x <- copy 34  # will cause an error because x is immutable in this function