seattlerb/ruby2ruby

Double splat problem: NoMethodError: undefined method `first' for nil:NilClass

jspanjers opened this issue · 2 comments

This code:

require 'ruby2ruby'
require 'ruby_parser'

ruby =  %q!def test(**testing) test_splat(foo: 'bar', **testing) end!
sexp      = RubyParser.new.process(ruby)

Ruby2Ruby.new.process(sexp)

triggers:
NoMethodError: undefined method `first' for nil:NilClass

This is related, but not fixed by issue #25.

This is already reported under issue #30