test: cover compatibility method numeric returns

This commit is contained in:
Hermes Agent
2026-09-12 12:14:13 +00:00
parent 689d2b2bcc
commit a886e6eccc
5 changed files with 27 additions and 2 deletions
@@ -0,0 +1,9 @@
CLASS Player
TEACH score TAKES amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN amount / 2
LEARNED
ENDCLASS
NEW Player player
CALL player.score WITH 4