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
Commit 2259a29
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(effect): build Effect.fn call frames from a local factory
Replace the module-level four-argument makeCallFrame with a one-argument
closure in makeFn that already sees the definition data. Trim the comment
and reword the changeset.
Copy file name to clipboardExpand all lines: .changeset/fn-frame-arguments.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"effect": patch
3
3
---
4
4
5
-
Stop`Effect.fn` stack frames from keeping the call's arguments alive. A fiber forked inside an `Effect.fn` call inherits its stack frame, so it previously retained every argument of that call, and of every traced call above it, for as long as the fiber lived.
5
+
Fix`Effect.fn` stack frames retaining call arguments. A fiber forked inside an `Effect.fn` call inherits the frame, which kept the arguments of that call and of every traced call above it alive for as long as the fiber ran.
0 commit comments