diff options
author | Gopal Patel <[email protected]> | 2023-12-18 14:22:21 -0800 |
---|---|---|
committer | git <[email protected]> | 2024-02-24 03:39:19 +0000 |
commit | b9b0712556980a3af91c976c3fee8ba0e21c39a0 () | |
tree | c8ed2454b0e26d4aed8ea5391f2a735e6f9327f1 /lib/prism/parse_result | |
parent | fc656acee9d17f72d9f7b09630d7f03e981beef3 (diff) |
[ruby/prism] Use steep to type check RBS and Ruby files
https://.com/ruby/prism/commit/eabed9f4fd
-rw-r--r-- | lib/prism/parse_result/comments.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -120,7 +120,7 @@ module Prism comment_start = comment.location.start_offset comment_end = comment.location.end_offset - targets = [] node.comment_targets.map do |value| case value when StatementsNode @@ -133,8 +133,8 @@ module Prism end targets.sort_by!(&:start_offset) - preceding = nil - following = nil left = 0 right = targets.length |