From 2bb2ff871fa1761478442bec5f6a32c9428360a1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 14:20:18 -0400 Subject: Change method calls to use `foo.baz()` instead of `foo:baz()` --- test/optionals.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/optionals.tm') diff --git a/test/optionals.tm b/test/optionals.tm index 316b2e71..bf3e1633 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -57,7 +57,7 @@ func maybe_lambda(should_i:Bool-> func()?): func maybe_c_string(should_i:Bool->CString?): if should_i: - return ("hi":as_c_string())? + return ("hi".as_c_string())? else: return none @@ -248,7 +248,7 @@ func main(): >> nones : {Int?} = {none, none} >> also_nones : {Int?} = {none} >> nones == also_nones - >> [5?, none, none, 6?]:sorted() + >> [5?, none, none, 6?].sorted() = [none, none, 5, 6] do: -- cgit v1.2.3