From e422079fcced744e3a6247aeb12a09a658989072 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Sep 2024 15:33:47 -0400 Subject: Add a Byte datatype --- test/optionals.tm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/optionals.tm') diff --git a/test/optionals.tm b/test/optionals.tm index 928587f7..6d7db835 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -21,7 +21,7 @@ func maybe_int(should_i:Bool)->Int?: func maybe_int64(should_i:Bool)->Int64?: if should_i: - return 123_i64 + return 123[64] else: return !Int64 @@ -110,12 +110,12 @@ func main(): !! ... !! Int64s: >> yep := maybe_int64(yes) - = 123_i64? + = 123[64]? >> nope := maybe_int64(no) = !Int64 >> if yep: >> yep - = 123_i64 + = 123[64] else: fail("Falsey: $yep") >> if nope: fail("Truthy: $nope") -- cgit v1.2.3