lib/ruby22_parser.rb in ruby_parser-3.18.0 vs lib/ruby22_parser.rb in ruby_parser-3.18.1
- old
+ new
@@ -5194,22 +5194,28 @@
result
end
def _reduce_307(val, _values, result)
- result = new_yield val[2]
+ (_, line), _, args, _ = val
+ result = new_yield(args).line line
+
result
end
def _reduce_308(val, _values, result)
- result = new_yield
+ (_, line), _, _ = val
+ result = new_yield.line line
+
result
end
def _reduce_309(val, _values, result)
- result = new_yield
+ (_, line), = val
+
+ result = new_yield.line line
result
end
def _reduce_310(val, _values, result)