Project

General

Profile

Actions

Bug #20449

open

Ripper issue in field production on Ruby 3.1.5

Added by kddnewton (Kevin Newton) 10 days ago. Updated 10 days ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:117660]

Description

Ripper.sexp("foo::bar = baz")
# => [:program, [[:assign, [:field, [:vcall, [:@ident, "foo", [1, 0]]], 73, [:@ident, "bar", [1, 5]]], [:vcall, [:@ident, "baz", [1, 11]]]]]]

Note that 73 there. That's either :"::" or [:@op, "::", [lineno, column]] in every other version of Ruby that I could find. I assume this is a backport issue.

Actions

Also available in: Atom PDF

Like1
Like0