diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-01 16:19:03 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-01 16:19:03 -0400 |
commit | c21fa1738ea08455f906deba2762cdbd591b29ad (patch) | |
tree | c7ca6e2e47505144d0470d6080412707b3ea5258 /tests | |
parent | 5277f2222417b5366e1ef6e0871c90e3946b1742 (diff) |
null
Diffstat (limited to 'tests')
-rw-r--r-- | tests/types.toc | 2 |
1 files changed, 1 insertions, 1 deletions
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:]); |