From: "kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date: 2024-03-14T19:32:26+00:00
Subject: [ruby-core:117186] [Ruby master Bug#20339] Parser segfault with ractor comment in the middle of a statement

Issue #20339 has been reported by kddnewton (Kevin Newton).

----------------------------------------
Bug #20339: Parser segfault with ractor comment in the middle of a statement
https://bugs.ruby-lang.org/issues/20339

* Author: kddnewton (Kevin Newton)
* Status: Open
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
```ruby
foo(
  # shareable_constant_value: literal
  (C = { bar => baz })
)
```



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/