ref: bfc9204963426bf0e8121b416458550b8f2616ad
parent: 8d7247af269b3b0ef283f3b01f31980f686ae217
author: Ori Bernstein <ori@markovcorp.com>
date: Tue Jan 29 09:17:41 EST 2019
Add test for previous failure.
--- /dev/null
+++ b/test/slprint.myr
@@ -1,0 +1,5 @@
+use std
+
+const main = {
+ std.put("{} {}\n", (1 : uint32), [2][:]) /* !!! */
+}
--- a/test/tests
+++ b/test/tests
@@ -137,6 +137,7 @@
B tuple E 42
B tupleaccess P 'a: 0, b: 5, c: 2'
B slgrow E 42
+B slprint P '1 [2]'
B tyrec E 42
B infer-named E 99
B exportcycle E 0