fix: reject inverted random integer ranges

This commit is contained in:
Hermes Agent
2026-09-22 04:14:07 +00:00
parent 52a7ca5ff4
commit d9a226bd2d
4 changed files with 14 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
IMPORT "lib/random.claro" AS random
TRY
CALL random.int WITH 10, 1
CATCH
ENDTRY
SAY LASTERROR