test: cover compatibility function return types

This commit is contained in:
Hermes Agent
2026-09-09 14:05:35 +00:00
parent e26a398082
commit 762fde4379
8 changed files with 26 additions and 3 deletions
@@ -0,0 +1,6 @@
TEACH square TAKES amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN "oops"
LEARNED
CALL square WITH 4
@@ -0,0 +1,6 @@
TEACH square TAKES amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN amount
LEARNED
CALL square WITH 4