General

Profile

kddnewton (Kevin Newton)

  • Login: kddnewton
  • Email: kddnewton@gmail.com
  • Registered on: 11/20/2015
  • Last sign in: 03/02/2026

Issues

open closed Total
Assigned issues 0 101 101
Reported issues 15 78 93

Projects

Project Roles Registered on
Ruby Committer 06/28/2023

Activity

Today

02:30 AM Ruby Bug #21985 (Closed): RubyVM::AST negative numbers do not include - in location
```
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>
```
kddnewton (Kevin Newton)
02:02 AM Ruby Bug #21984 (Open): RubyVM::AST can't tell if an array is passed to break/next/return
```
irb(main):005> RubyVM::AbstractSyntaxTree.parse("tap { break [1, 2, 3] }")
=> (SCOPE@1:0-1:23 tbl: [] args: nil body: (ITER@1:0-1:23 (FCALL@1:0-1:3 :tap nil) (SCOPE@1:4-1:23 tbl: [] args: nil body: (BREAK@1:6-1:21 (LIST@1:12-1:21 (...
kddnewton (Kevin Newton)

04/06/2026

03:41 PM Ruby Bug #21983 (Closed): RubyVM::AST no way to find &nil
```
$ ./ruby -e 'pp RubyVM::AbstractSyntaxTree.parse("def foo(&nil); end")'
(SCOPE@1:0-1:18
tbl: []
args: nil
body: (DEFN@1:0-1:18 mid: :foo body: (SCOPE@1:0-1:18 tbl: [] args: (ARGS@1:8-1:12 pre_num: 0 pre_init: nil opt: nil fir...
kddnewton (Kevin Newton)

04/02/2026

06:46 PM Ruby Bug #21980 (Open): RubyVM::AST offsets are incorrect when BOM
When there is a BOM on a file, the offsets are incorrect for nodes. See:
```
RubyVM::AbstractSyntaxTree.parse("\xEF\xBB\xBF1").source # => "\xEF"
```
kddnewton (Kevin Newton)

03/31/2026

07:58 PM Ruby Bug #21974 (Closed): Cannot inspect RubyVM::AST for CDECL
```
./ruby -e 'pp RubyVM::AbstractSyntaxTree.parse("::Foo = 1")'
```
and
```
./ruby -e 'p RubyVM::AbstractSyntaxTree.parse("::Foo = 1").children[2].children'
```
both crash
kddnewton (Kevin Newton)

03/25/2026

02:39 PM Ruby Revision 2c01a495 (git): [ruby/prism] Pull out parse_parentheses from parse_expression_prefix
https://github.com/ruby/prism/commit/3349087895 kddnewton (Kevin Newton)
02:39 PM Ruby Revision 9a24716e (git): [ruby/prism] Pull out parse_*_array from parse_expression_prefix
https://github.com/ruby/prism/commit/80220a9d6a kddnewton (Kevin Newton)
02:39 PM Ruby Revision a3eca0c9 (git): [ruby/prism] Pull out parse_class and parse_module
https://github.com/ruby/prism/commit/781ecf4338 kddnewton (Kevin Newton)
02:39 PM Ruby Revision 3a5536aa (git): [ruby/prism] Pull out parse_def from parse_expression_prefix
https://github.com/ruby/prism/commit/f77dc15864 kddnewton (Kevin Newton)
02:39 PM Ruby Revision 5fcdaff8 (git): [ruby/prism] Pull out parse_case from parse_expression_prefix
https://github.com/ruby/prism/commit/410a623cdf kddnewton (Kevin Newton)

Also available in: Atom