You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perry-codegen Phase 2: String.matchAll codegen not implemented #317
perry compile repro.ts -o /tmp/out
# fails with: perry-codegen Phase 2: expression StringMatchAll not yet supported
Likely fix site
The HIR variant Expr::StringMatchAll already exists (the error message comes from a missing codegen arm), so HIR lowering is done. Adding the codegen arm in crates/perry-codegen/src/expr.rs and a runtime helper in crates/perry-runtime/src/string.rs (or a regex-aware path) should be a contained change. Consider matching the iterator-protocol shape String.prototype.match with the global flag already produces (returns array, not iterator) — matchAll is the iterator version.
Activity
proggeramlug commentedon Apr 30, 2026
Tracked under umbrella #321 (Effect framework end-to-end compat).
fix(codegen): closes #317 — wire String.matchAll codegen + NaN-box in…
fix(codegen): closes #316 — accept String.slice/substring 0-arg form …
fix(codegen): closes #316 — accept String.slice/substring 0-arg form …
fix(codegen): closes #316 — accept String.slice/substring 0-arg form …
fix(codegen): closes #316 — accept String.slice/substring 0-arg form …