diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 00:13:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-12 00:13:53 -0400 |
| commit | fa7e52787f81f3673f9d57e9e4ba7fc015ca8432 (patch) | |
| tree | f184ad44625d04d1bf80af8e83f4512124b3ff2f /test | |
| parent | 8e300312a077421477fdeb6453f625461799ffc0 (diff) | |
Add postfix `!` operator for optionals
Diffstat (limited to 'test')
| -rw-r--r-- | test/optionals.tm | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
