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: String.startsWith 2-arg form (with position) unsupported #315
crates/perry-codegen/src/lower_string_method.rs — search for startsWith arm. Should mirror what slice / substring already do for optional second arg (default to 0 when absent, lowering to a js_string_starts_with_at(s, prefix, pos) runtime call).
String.prototype.endsWith(s, endPosition) likely has the same gap and should be fixed in the same change — worth a grep for endsWith expects in the codebase.
Activity
proggeramlug commentedon Apr 30, 2026
Tracked under umbrella #321 (Effect framework end-to-end compat).
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 …