From c21fa1738ea08455f906deba2762cdbd591b29ad Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 1 May 2020 16:19:03 -0400 Subject: null --- tests/types.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/types.toc b/tests/types.toc index 7262637..5117906 100644 --- a/tests/types.toc +++ b/tests/types.toc @@ -25,7 +25,7 @@ main ::= fn() { slice_to_ll ::= fn(t::=, slice: []t) use ll: LinkedList(t) { head = slice[0]; if slice.len == 1 { - tail = 0 as &LinkedList(t); + tail = null; } else { tail = new(LinkedList(t)); *tail = slice_to_ll(slice[1:]); -- cgit v1.2.3