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

Kapalı
herby tarafından 4 yıl önce kere açıldı · 0 yorum
Herby Vojčík 4 yıl önce olarak yorumlandı

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.
Giriş yap bu konuşmaya katılmak için.
Etiket Yok
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.