about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-29 12:13:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-29 12:13:24 -0800
commitb96d34f6f613789537e65973f0048dd3ca7681de (patch)
tree1ca5176c7812955fc8f1eb3eb5d303c60b5e540a
parent63b19862f0d665d41679ff4630541054e21fd556 (diff)
downloadmu-b96d34f6f613789537e65973f0048dd3ca7681de.tar.gz
675
-rw-r--r--mu.arc6
-rw-r--r--mu.arc.t4
2 files changed, 4 insertions, 6 deletions
diff --git a/mu.arc b/mu.arc
index ed1eb253..ef1bd936 100644
--- a/mu.arc
+++ b/mu.arc
@@ -1257,10 +1257,8 @@
 ; and replace-names-with-location.
 (def convert-names (instrs (o name))
 ;?   (tr "convert-names " instrs)
-  (let location (table)
-    (= location*.name (assign-names-to-location instrs name))
-;?     (tr "save names for function @name: @(tostring:pr location*.name)")
-    )
+  (= location*.name (assign-names-to-location instrs name))
+;?   (tr "save names for function @name: @(tostring:pr location*.name)") ;? 1
   (replace-names-with-location instrs name))
 
 (def assign-names-to-location (instrs name)
diff --git a/mu.arc.t b/mu.arc.t
index f2bbd7f3..cbf7c6a2 100644
--- a/mu.arc.t
+++ b/mu.arc.t
@@ -2218,7 +2218,7 @@
 ;? (prn memory*)
 (when (or (~is memory*.2 4)
           (~is memory*.3 5))
-  (prn "F - multiple calls to a function can share locals"))
+  (prn "F - closures using /space metadata"))
 ;? (quit)
 
 (reset)
@@ -2249,7 +2249,7 @@
 ;? (prn memory*)
 (when (or (~is memory*.2 4)
           (~is memory*.3 5))
-  (prn "F - multiple calls to a function can share locals"))
+  (prn "F - /names to name variables in outer spaces"))
 ;? (quit)
 
 )  ; section 20