From fa7e52787f81f3673f9d57e9e4ba7fc015ca8432 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Sep 2024 00:13:53 -0400 Subject: Add postfix `!` operator for optionals --- test/optionals.tm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/optionals.tm b/test/optionals.tm index 26e825ae..c0c600a7 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -271,3 +271,6 @@ func main(): >> yep = 123 : Int else: fail("Unreachable") + + >> maybe_int(yes)! + = 123 : Int -- cgit v1.2.3