From 5fc9df5d515274efeed73ebce325b71e202c4ac5 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 7 Oct 2019 14:55:02 -0400 Subject: compile time at index --- test.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.toc') diff --git a/test.toc b/test.toc index c472568..0d12e27 100644 --- a/test.toc +++ b/test.toc @@ -3,5 +3,5 @@ main @= fn() { // N, M @= 8 * if foo { 8 } else { 3} - 3, 894; // foo @= new[3]int; // x : [foo[0]]int; - y : [{x := (439 as &u8); *x = 7; *x }]f32; + y : [{x : [3]int; x[0] = 7; x[0] }]f32; }; \ No newline at end of file -- cgit v1.2.3