Skip to content

fix: add missing setUsesRegex flag + test fixtures#283

Merged
cs01 merged 1 commit intomainfrom
fix/hardening-round
Mar 12, 2026
Merged

fix: add missing setUsesRegex flag + test fixtures#283
cs01 merged 1 commit intomainfrom
fix/hardening-round

Conversation

@cs01
Copy link
Copy Markdown
Owner

@cs01 cs01 commented Mar 12, 2026

Summary

  • Fix missing setUsesRegex(true) calls in generateRegexMatch, generateRegexTest, and generateRegexFree — calling these without first going through generateRegexCompile would cause linker errors (undefined symbols for regex bridge functions). This violates CLAUDE.md rule Argparse library improvements, cross-compilation support, and several compiler fixes. #9.
  • Add test fixtures for previously untested methods: string.match(), trim()/trimStart()/trimEnd(), toFixed(), Array.every()

Test plan

  • npm run verify:quick passes (tests + Stage 1 self-hosting)
  • string-match.ts passes with JS compiler
  • All new fixtures pass

🤖 Generated with Claude Code

@cs01 cs01 merged commit 5b97e88 into main Mar 12, 2026
12 checks passed
@cs01 cs01 deleted the fix/hardening-round branch March 19, 2026 05:23
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