diff options
author | Gopal Patel <[email protected]> | 2024-02-20 13:48:31 -0800 |
---|---|---|
committer | git <[email protected]> | 2024-02-24 03:39:28 +0000 |
commit | dfee03374632f4da40587cf62858b92da5022a9a () | |
tree | a24a55c2209b4c9a2ba9a9560f99ec82cbb9efa4 /lib/prism/parse_result/comments.rb | |
parent | 66565e36eae8a3dff53f86b3d04bf749e0b07a94 (diff) |
[ruby/prism] Replace awkward code changes with steep:ignore
Also remove RBS for currently ignored files. Will follow-up when those check fully in later PRs. https://.com/ruby/prism/commit/2cae58f86d
-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 |