General

Profile

ibylich (Ilya Bylich)

  • Login: ibylich
  • Email: ibylich@gmail.com
  • Registered on: 11/15/2017
  • Last connection: 09/26/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 10 10

Activity

12/23/2020

03:57 PM Ruby master Bug #17431: paren_nest is not reset in parse.y after "foo.[]= value"
The following patch seems to be the fix:
```
diff --git a/parse.y b/parse.y
index c65a469a..a4f6bcc8 100644
---...
ibylich (Ilya Bylich)
03:44 PM Ruby master Bug #17431: paren_nest is not reset in parse.y after "foo.[]= value"
Ok, got an example with lambdas:
```
$ ./miniruby -ce '->(opt = (foo.[]= bar)) do end'
-e:1: syntax error, unexp...
ibylich (Ilya Bylich)
03:34 PM Ruby master Bug #17431 (Closed): paren_nest is not reset in parse.y after "foo.[]= value"
`p->lex.paren_nest` is equal to 1 after the following code:
```ruby
self.[]= foo
```
`paren_nest` is used to ...
ibylich (Ilya Bylich)

08/03/2020

10:29 AM Ruby master Feature #17100: Ractor: a proposal for a new concurrent abstraction without thread-safety issues
First of all, thanks a lot for your work. This is a huge (and incredibly valuable) addition to Ruby.
I have your b...
ibylich (Ilya Bylich)

06/10/2020

07:03 PM Ruby master Bug #16841: Some syntax errors are thrown from compile.c
Thanks for looking into this issue.
> Do you think that will work for your purposes?
Not really. I'm working on...
ibylich (Ilya Bylich)

05/08/2020

11:30 AM Ruby master Bug #16841 (Closed): Some syntax errors are thrown from compile.c
`compile.c` has a few places where it raises `SyntaxError`. Because of that `ruby -c`, Ripper and `RubyVM::AbstractSy... ibylich (Ilya Bylich)

11/11/2019

06:28 PM Ruby master Bug #16343 (Closed): Inconsistent behavior of 'circular argument reference' error
The following code gives a syntax error:
``` ruby
m { |foo = proc { || foo }| }
# => SyntaxError (-e:14: circular...
ibylich (Ilya Bylich)

10/10/2019

12:42 AM Ruby master Bug #16248 (Closed): Unclear semantics of the "numbered parameter is already used" error
Numbered parameters now have an underscore as a prefix:
``` ruby
->{ _1 }.call(1)
=> 1
```
And it's not allow...
ibylich (Ilya Bylich)

06/13/2019

07:30 PM Ruby master Feature #15919: Offset parameter for `Integer#times`
`Numeric#step` does something similar:
``` ruby
> 3.step(to: 10, by: 2) { |a| p a }
3
5
7
9
```
ibylich (Ilya Bylich)

05/27/2019

01:51 PM Ruby master Bug #15880 (Rejected): Wrong precedence of the if modifier in pattern matching
When "If" is used as an "If modifier" it runs before the expression that it wraps:
``` ruby
=> puts 1 if (puts 2; t...
ibylich (Ilya Bylich)

Also available in: Atom