[ruby-core:117197] [Ruby master Bug#20341] Parser segfault with shareable constant with array of more than 1 element
From:
"kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date:
2024-03-15 19:28:40 UTC
List:
ruby-core #117197
Issue #20341 has been reported by kddnewton (Kevin Newton). ---------------------------------------- Bug #20341: Parser segfault with shareable constant with array of more than 1 element https://bugs.ruby-lang.org/issues/20341 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ```ruby # shareable_constant_value: literal C = [foo, bar] ``` results in ``` ./ruby: [BUG] unexpected node: NODE_LIT ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- [email protected] To unsubscribe send an email to [email protected] ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/