#1257 Non-local return in Promise executor block rejects a Promise

Closed
opened 3 years ago by herby · 0 comments

In

Promise new: [ :model | [ model value: 3 ] fork. ^ 4 ]

the promise is returned and rejected with #(4); but 4 should be returned.

In ``` Promise new: [ :model | [ model value: 3 ] fork. ^ 4 ] ``` the promise is returned and rejected with #(4); but 4 should be returned.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.