about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--043new.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/043new.cc b/043new.cc
index c3f48bce..e57c6a4d 100644
--- a/043new.cc
+++ b/043new.cc
@@ -390,7 +390,7 @@ recipe main [
 :(before "End print Special-cases(reagent r, data)")
 if (is_mu_string(r)) {
   assert(scalar(data));
-  return read_mu_string(data.at(0));
+  return read_mu_string(data.at(0))+' ';
 }
 
 :(scenario unicode_string)
@@ -400,6 +400,13 @@ recipe main [
 ]
 +app: foo: ♠
 
+:(scenario stash_space_after_string)
+recipe main [
+  1:address:array:character <- new [abc]
+  stash 1:address:array:character [foo]
+]
++app: abc foo
+
 //: Allocate more to routine when initializing a literal string
 :(scenario new_string_overflow)
 % Initial_memory_per_routine = 2;