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 18 hours ago. Updated about 14 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>
Actions

Also available in: PDF Atom