diff options
-rw-r--r-- | lib/prism/parse_result/comments.rb | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -188,12 +188,7 @@ module Prism # Attach the list of comments to their respective locations in the tree. def attach_comments! - if ProgramNode === value - this = self #: ParseResult[ProgramNode] - Comments.new(this).attach! - else - raise - end end end end |