Project

General

Profile

Actions

Bug #21985

closed

RubyVM::AST negative numbers do not include - in location

Bug #21985: RubyVM::AST negative numbers do not include - in location

Added by kddnewton (Kevin Newton) about 15 hours ago. Updated about 11 hours ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:125209]

Description

irb(main):007> RubyVM::AbstractSyntaxTree.parse("-1")
=> (SCOPE@1:0-1:2 tbl: [] args: nil body: (INTEGER@1:1-1:2 -1))
irb(main):008>

Updated by nobu (Nobuyoshi Nakada) about 12 hours ago Actions #1

  • Status changed from Open to Closed

Applied in changeset git|24a2ba09af13b7c969733ea9370ad59d2442f4c9.


[Bug #21985] Include the - in the negative numbers location

Updated by nobu (Nobuyoshi Nakada) about 11 hours ago Actions #2

  • Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN to 3.2: DONTNEED, 3.3: DONTNEED, 3.4: REQUIRED, 4.0: REQUIRED
Actions

Also available in: PDF Atom