test: cover compatibility aliased method calls

This commit is contained in:
Hermes Agent
2026-09-06 18:11:32 +00:00
parent 75b2152f23
commit d3fcce0221
5 changed files with 30 additions and 2 deletions
@@ -0,0 +1,12 @@
CLASS Player
HAS score NUMBER
TEACH add points
CHECK TYPE points IS NUMBER
END
END
NEW Player player
SET alias player
SET second alias
CALL second.add WITH "five"
@@ -0,0 +1,12 @@
CLASS Player
HAS score NUMBER
TEACH add points
CHECK TYPE points IS NUMBER
END
END
NEW Player player
SET alias player
SET second alias
CALL second.add WITH 5