aboutsummaryrefslogtreecommitdiff
path: root/test/nums.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-23 13:12:49 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-23 13:12:49 -0400
commit63083252522d22f5ed9d14912696fab1c8347b65 (patch)
tree36dd280608719c0d77539631f585cde25a6ea0dd /test/nums.tm
parent005427744daa8d70abeffde9a05831b4bdb0682f (diff)
Add constructor/casting for ints and nums
Diffstat (limited to 'test/nums.tm')
-rw-r--r--test/nums.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nums.tm b/test/nums.tm
index aee7c688..4e9c81a4 100644
--- a/test/nums.tm
+++ b/test/nums.tm
@@ -53,3 +53,6 @@ func main()
= 12.5
>> 2.0:mix(10, 20)
= 30
+
+ >> Num(5)
+ = 5 : Num