diff options
-rw-r--r-- | 064list.mu | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/064list.mu b/064list.mu index 4aa24b04..4c48f8e2 100644 --- a/064list.mu +++ b/064list.mu @@ -308,7 +308,7 @@ def to-buffer in:&:list:_elem, buf:&:buffer -> buf:&:buffer [ load-ingredients { break-if in - buf <- append buf, 48/0 + buf <- append buf, [[]] return } # append in.value to buf @@ -337,3 +337,11 @@ def to-buffer in:&:list:_elem, buf:&:buffer -> buf:&:buffer [ # past recursion depth; insert ellipses and stop append buf, [...] ] + +scenario stash-empty-list [ + x:&:list:num <- copy 0 + stash x + trace-should-contain [ + app: [] + ] +] |