lib/parlour/rbs_generator/method.rb in parlour-5.0.0.beta.6 vs lib/parlour/rbs_generator/method.rb in parlour-5.0.0

- old
+ new

@@ -87,10 +87,10 @@ # Generate the signature's lines, we'll append them afterwards partial_sig_lines = sig.generate_rbs(options) # Merge the first signature line, and indent & concat the rest first_line, *rest_lines = *partial_sig_lines - this_sig_lines[0] += first_line + this_sig_lines[0] = T.unsafe(this_sig_lines[0]) + first_line rest_lines&.each do |line| this_sig_lines << ' ' * definition.length + options.indented(indent_level, line) end # Add on all this signature's lines to the complete lines