Actions
Bug #21974
closedCannot inspect RubyVM::AST for CDECL
Bug #21974:
Cannot inspect RubyVM::AST for CDECL
Description
./ruby -e 'pp RubyVM::AbstractSyntaxTree.parse("::Foo = 1")'
and
./ruby -e 'p RubyVM::AbstractSyntaxTree.parse("::Foo = 1").children[2].children'
both crash
Updated by afurm (Andrii Furmanets) about 3 hours ago
I have created a fix for this https://github.com/ruby/ruby/pull/16642
Updated by afurm (Andrii Furmanets) about 1 hour ago
- Status changed from Open to Closed
Applied in changeset git|4009b713a64f469e593ffbc5bb4b37eff43f3be3.
[Bug #21974] Fix RubyVM::AST inspection for ::Foo = 1 (#16642)
-
Fix AST CDECL children for top-level constants
-
Simplify cdecl AST regression test
Actions