typecheck: diagnose extra function args

This commit is contained in:
Hermes Agent
2026-09-01 21:36:40 +00:00
parent 8237792cc3
commit d5945bed35
6 changed files with 18 additions and 4 deletions
@@ -0,0 +1,6 @@
TEACH square amount
CHECK TYPE amount IS NUMBER
SAY amount
END
DO square 5, 6