about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/factorial.mu6
-rwxr-xr-xapps/mubin254216 -> 254249 bytes
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/factorial.mu b/apps/factorial.mu
index e498cae1..5a748f0d 100644
--- a/apps/factorial.mu
+++ b/apps/factorial.mu
@@ -31,8 +31,8 @@ fn test-factorial {
   check-ints-equal result 0x78 "F - test-factorial"
 }
 
-fn main args: (addr array string) -> exit-status/ebx: int {
-  var a/eax: (addr array string) <- copy args
+fn main args: (addr array (addr array byte)) -> exit-status/ebx: int {
+  var a/eax: (addr array (addr array byte)) <- copy args
   var tmp/ecx: int <- length a
   $main-body: {
     # if (len(args) <= 1) factorial(5)
@@ -44,7 +44,7 @@ fn main args: (addr array string) -> exit-status/ebx: int {
       break $main-body
     }
     # if (args[1] == "test") run-tests()
-    var tmp2/ecx: (addr string) <- index a, 1
+    var tmp2/ecx: (addr addr array byte) <- index a, 1
     var tmp3/eax: boolean <- string-equal? *tmp2, "test"
     compare tmp3, 0
     {
diff --git a/apps/mu b/apps/mu
index 33034270..9cb68c00 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differ