Double splat problem: NoMethodError: undefined method `first' for nil:NilClass
jspanjers opened this issue · 2 comments
jspanjers commented
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