test: cover method subtraction return diagnostics

This commit is contained in:
Hermes Agent
2026-09-11 17:45:42 +00:00
parent 2b661f65e7
commit d4c9c0a26b
5 changed files with 14 additions and 3 deletions
@@ -0,0 +1,8 @@
CLASS Player
HAS score NUMBER
TEACH total amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN amount - "oops"
END
END