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.slice() 0-arg form unsupported #316
perry compile repro.ts -o /tmp/out
# fails with: perry-codegen: String.slice expects 1 or 2 args, got 0
Likely fix site
crates/perry-codegen/src/lower_string_method.rs — search for the slice arm. Treat 0 args as slice(0, length) (i.e. clone). Same fix shape that Array.prototype.slice() (without args) already supports.
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 …