Skip to content

add test fixtures for comparisons, closures, collections, default params, and more#221

Merged
cs01 merged 2 commits intomainfrom
refactor/extract-control-flow-helpers
Mar 11, 2026
Merged

add test fixtures for comparisons, closures, collections, default params, and more#221
cs01 merged 2 commits intomainfrom
refactor/extract-control-flow-helpers

Conversation

@cs01
Copy link
Copy Markdown
Owner

@cs01 cs01 commented Mar 11, 2026

Summary

  • Add 8 test fixtures covering previously untested features: comparison operators, closure capture in reduce/filter, Map<string,string>, Set (skipped - native compiler bug), default function parameters, interface method dispatch, Uint8Array operations, and boolean logical operators
  • Set operations test is @test-skip — native compiler generates fcmp for string pointer comparison in StringSet.has()

Test plan

  • All 7 active tests pass with both JS and native compiler
  • Set test skipped (native compiler StringSet.has codegen bug)
  • verify:quick passes including self-hosting Stage 1

@cs01 cs01 merged commit 300858e into main Mar 11, 2026
12 checks passed
@cs01 cs01 deleted the refactor/extract-control-flow-helpers branch March 12, 2026 05:35
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