typecheck: accept nested complete returns

This commit is contained in:
Hermes Agent
2026-09-09 22:21:22 +00:00
parent 74998a4f11
commit 39be2a57ef
7 changed files with 38 additions and 4 deletions
@@ -0,0 +1,13 @@
TEACH choose flag RETURNS NUMBER
IF flag
IF flag
RETURN 1
ELSE
RETURN 2
END
ELSE
RETURN 3
END
END
DO choose YES