diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-25 09:09:39 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-25 09:09:39 -0500 |
commit | d238a47bb8b324084a81748e2d320e0bc2973d25 (patch) | |
tree | 9648b09d5651b6a726e7b796d690eda7ba1ad9ca /test.toc | |
parent | 9dbd9539c2f93faa24b71917a5a961b79522e876 (diff) |
fixed problem with flexible types
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,11 +9,11 @@ puti @= fn(x: int) { f @= fn(t @ Type, x: t) t { - x + 1 as t + x + 1 }; main @= fn() { puti(f(int, 3)); - puti(f(u8, 255 as u8) as int); + puti(f(u8, 255) as int); };
\ No newline at end of file |