General

Profile

esad (Esad Hajdarevic)

  • Login: esad
  • Registered on: 04/22/2024
  • Last sign in: 04/24/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

04/26/2024

12:27 PM Ruby master Bug #20459 (Open): Ractor.select() deadlock?
When I run this script
```
echo = Ractor.new { Ractor.receive }
Thread.new { puts Ractor.select(echo).inspect ...
esad (Esad Hajdarevic)
10:07 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-9:
> That example does not need `Ractor`.
Yes, you are right, it actually ...
esad (Esad Hajdarevic)

04/24/2024

11:00 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
ufuk (Ufuk Kayserilioglu) wrote in #note-7:
> @esad If you just want to return a result from the `loop`, you can use ...
esad (Esad Hajdarevic)
09:07 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-3:
> I'm curious what your use case is.
>
> Although I don't know the reas...
esad (Esad Hajdarevic)

04/23/2024

06:21 AM Ruby master Feature #20444: Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
nobu (Nobuyoshi Nakada) wrote in #note-1:
> `StopIteration.new(3)` does not set `result`, and no way to set it in Ru...
esad (Esad Hajdarevic)

04/22/2024

09:41 PM Ruby master Feature #20444 (Feedback): Kernel#loop: returning the "result" value of StopIteration doesn't work when raised directly
There was a https://bugs.ruby-lang.org/issues/11498 a while ago which was merged in, but I was surprised to find out ... esad (Esad Hajdarevic)

Also available in: Atom