about summary refs log tree commit diff stats
path: root/061text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-04-18 18:04:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-04-18 18:04:50 -0700
commitf8b0b04da1d63dfb442fa547a82f98f1be14b446 (patch)
tree4f6c24ec8996ab7878caff8bcc90c392826c88e3 /061text.mu
parent04683e4ecec9bc26f0930a548fc2173d89f686c4 (diff)
downloadmu-f8b0b04da1d63dfb442fa547a82f98f1be14b446.tar.gz
3833
Loosen type-checking slightly to accomodate type abbreviations.
Diffstat (limited to '061text.mu')
-rw-r--r--061text.mu6
1 files changed, 6 insertions, 0 deletions
diff --git a/061text.mu b/061text.mu
index 96e6b644..db198d01 100644
--- a/061text.mu
+++ b/061text.mu
@@ -344,6 +344,12 @@ scenario buffer-append-handles-backspace [
   ]
 ]
 
+scenario append-to-buffer-of-non-characters [
+  local-scope
+  x:&:buffer:text <- new-buffer 1/capacity
+  # no errors
+]
+
 def buffer-to-array in:&:buffer:_elem -> result:&:@:_elem [
   local-scope
   load-ingredients