blackenedgold (Sunrin SHIMURA)
- Login: blackenedgold
- Registered on: 02/13/2018
- Last sign in: 02/13/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/14/2018
-
04:12 AM Ruby Bug #14472: `File::open` closes the file too early when used with callcc
- I used raw continuations for the simplicity of explanation but I found it was a bit confusing (and I was also confused).
> ... code above must be the same as code below, which works fine:
It was wrong. and
> ...
is absolutely co... -
03:28 AM Ruby Bug #14472: `File::open` closes the file too early when used with callcc
- > You can do it by `File.open` without a block.
I know that. Again, I'm not in trouble.
> ...
I understand it isn't a bug, but an expected behaviour.
Then the question is why this behaviour?
> If `callcc` weren't fire ensures, ...
02/13/2018
-
08:22 PM Ruby Bug #14472 (Rejected): `File::open` closes the file too early when used with callcc
- First of all, I know `callcc` is deprecated feature and I'm not in trouble with this bug.
I was just curious and happened to find this bug.
# Bug Description
This code throws an IOError, but expected to exit normally:
~~~ ruby
...