[ruby-core:118797] [Ruby master Bug#20668] [3.3] shareable_constant_value: literal crash
From:
"byroot (Jean Boussier) via ruby-core" <ruby-core@...>
Date:
2024-08-05 08:34:55 UTC
List:
ruby-core #118797
Issue #20668 has been reported by byroot (Jean Boussier).
----------------------------------------
Bug #20668: [3.3] shareable_constant_value: literal crash
https://bugs.ruby-lang.org/issues/20668
* Author: byroot (Jean Boussier)
* Status: Open
* ruby -v: ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
* Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: REQUIRED
----------------------------------------
The following test script crashes in the parser:
```ruby
# shareable_constant_value: literal
FORM_STRATEGIES = {
'product' => Object,
'storefront_password' => String,
'contact' => Class,
}
```
The entire 3.3.x series is affected but not `master` nor 3.2.
--
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/lists/ruby-core.ml.ruby-lang.org/