summaryrefslogtreecommitdiff
path: root/test/ruby/test_encoding.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2025-08-26 18:58:05 +0900
committerYusuke Endoh <mame@ruby-lang.org>2025-08-28 12:44:04 +0900
commit2ccb2de677849732181224cb9fd1a831dbaac4c0 (patch)
tree23b686f63a6939f71ce69e2b8e70b1c0e761ffd5 /test/ruby/test_encoding.rb
parent471028459dcb1aa778cbc4868240b4a674212a03 (diff)
Make `RubyVM::AST.of` return a parent node of NODE_SCOPE
This change makes `RubyVM::AST.of` and `.node_id_for_backtrace_location` return a parent node of NODE_SCOPE (such as NODE_DEFN) instead of the NODE_SCOPE node itself. (In future, we may remove NODE_SCOPE, which is a bit hacky AST node.) This is preparation for [Feature #21543].
Diffstat (limited to 'test/ruby/test_encoding.rb')
0 files changed, 0 insertions, 0 deletions