Project

General

Profile

Actions

Bug #20449

closed

Ripper issue in field production on Ruby 3.1.5

Added by kddnewton (Kevin Newton) 7 months ago. Updated 6 months ago.

Status:
Closed
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
Like0Like0Like1