Skip to content

unskip try-catch-throw and nested ternary tests#281

Merged
cs01 merged 3 commits intomainfrom
fix/for-of-string-error
Mar 12, 2026
Merged

unskip try-catch-throw and nested ternary tests#281
cs01 merged 3 commits intomainfrom
fix/for-of-string-error

Conversation

@cs01
Copy link
Copy Markdown
Owner

@cs01 cs01 commented Mar 12, 2026

Summary

  • Unskip try-catch-throw.ts: throw+try-catch now works correctly in the native compiler (was skipped due to duplicate type declarations — resolved by recent fixes)
  • Unskip ternary-nested.ts: Nested ternary expressions now work in the native compiler (was skipping due to LLVM 22 crash — resolved by recent alloca-hoisting and codegen fixes)
  • Add string-for-of.ts: Regression test for for...of on strings — verifies character iteration and charCodeAt work correctly

These were 2 of 21 skipped tests. Both now pass on both JS and native compilers.

Test plan

  • npm run verify:quick passes (all tests + Stage 1 self-hosting)
  • Both unskipped tests pass with native compiler manually

🤖 Generated with Claude Code

@cs01 cs01 merged commit 1888c76 into main Mar 12, 2026
12 checks passed
@cs01 cs01 deleted the fix/for-of-string-error branch March 12, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant