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
+1
View File
@@ -217,6 +217,7 @@ EXPECTED_OK = [
"tests/typecheck_function_compat_return_good.claro",
"tests/typecheck_function_return_expression_good.claro",
"tests/typecheck_function_branch_complete_good.claro",
"tests/typecheck_function_nested_branch_complete_good.claro",
"tests/typecheck_method_return_good.claro",
"tests/typecheck_method_return_expression_good.claro",
"tests/typecheck_function_multi_good.claro",