General

Profile

qnighy (Masaki Hara)

  • Login: qnighy
  • Registered on: 11/30/2019
  • Last sign in: 05/11/2024

Issues

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

Activity

05/11/2024

01:12 AM Ruby master Bug #20481 (Closed): Untrusted Marshal data can overwrite class/module instance variables
The following code snippet shows how class/module instance variables can be overwritten in Ruby. Checked on Ruby 3.3.... qnighy (Masaki Hara)

09/02/2022

03:22 AM Ruby master Bug #18991 (Closed): False LocalJumpError when branch coverage is enabled
Enabling branch coverage leads to a false LocalJumpError where it should not be raised.
```ruby
# test.rb
requir...
qnighy (Masaki Hara)

07/11/2022

12:09 PM Ruby master Bug #18905: :"@=".inspect is non-evaluatable
sawa (Tsuyoshi Sawada) wrote in #note-1:
> However, among them, `:"@=".inspect` and `:"$$$$=".inspect` do not includ...
qnighy (Masaki Hara)

07/09/2022

06:30 AM Ruby master Bug #18905 (Closed): :"@=".inspect is non-evaluatable
There is an edge case where `Symbol#inspect` returns a non-evaluatable expression:
```ruby
:"@=".inspect # => :@=...
qnighy (Masaki Hara)

07/02/2022

01:48 AM Ruby master Bug #18890 (Closed): parse.y: pattern label is newline-sensitive if it is dynamic
The two patterns in the code below behave differently:
```ruby
def f(obj)
case obj
in foo:
0
true...
qnighy (Masaki Hara)

06/28/2022

03:54 AM Ruby master Bug #18884 (Closed): parse.y: inconsistent parsing of "if" after "class"
There is a corner case where `if` inconsistently causes a syntax error:
```ruby
# syntax error, unexpected `if' ...
qnighy (Masaki Hara)
03:44 AM Ruby master Bug #18883 (Rejected): parse.y: trailing comma cannot coexist with star
The following code is a syntax error:
```ruby
*x, y, = 1, 2 # syntax error, unexpected '='
```
although the f...
qnighy (Masaki Hara)
03:38 AM Ruby master Bug #18878: parse.y: Foo::Bar {} is inconsistently rejected
> Is there a more descriptive error message, or is `SyntaxError` the only output provided?
This is the actual erro...
qnighy (Masaki Hara)

06/26/2022

01:06 PM Ruby master Bug #18878 (Open): parse.y: Foo::Bar {} is inconsistently rejected
The following source doesn't parse:
```ruby
Foo::Bar {}
```
despite the following:
```ruby
bar ...
qnighy (Masaki Hara)
12:57 PM Ruby master Bug #18877 (Closed): parse.y: escaped space inconsistently allowed after assignment
The following source inconsistently parses:
```ruby
x = \ 42
```
though this one not:
```ruby
\ 42
```
...
qnighy (Masaki Hara)

Also available in: Atom