aboutsummaryrefslogtreecommitdiff
path: root/test/nums.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
commitfd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 (patch)
tree0cdf5c4659264b612b5f3fbb4ce6a3b11dd736f5 /test/nums.tm
parent92185a002a2e8b669add454a945c0ecdc0904993 (diff)
Deprecate optional '?' postfix operator
Diffstat (limited to 'test/nums.tm')
-rw-r--r--test/nums.tm4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/nums.tm b/test/nums.tm
index 362f590f..1ca09d7b 100644
--- a/test/nums.tm
+++ b/test/nums.tm
@@ -51,7 +51,9 @@ func main()
= no
>> Num32.sqrt(16)
- = Num32(4)?
+ = Num32(4)
+ >> Num32.sqrt(-1)
+ = none
>> (0.25).mix(10, 20)
= 12.5