lib/rbi/parser.rb in rbi-0.0.6 vs lib/rbi/parser.rb in rbi-0.0.7

- old
+ new

@@ -176,10 +176,10 @@ text = comment.text[1..-1].strip loc = Loc.from_ast_loc(@file, comment.location) if last_line && comment_line > last_line + 1 # Preserve empty lines in file headers - tree.comments << EmptyComment.new(loc: loc) + tree.comments << BlankLine.new(loc: loc) end tree.comments << Comment.new(text, loc: loc) last_line = comment_line end