We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e16f105 + bd3406c commit f13a8a2Copy full SHA for f13a8a2
1 file changed
lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb
@@ -180,7 +180,7 @@ def visit_sig(node)
180
return unless sorbet_sig?(node)
181
182
builder = RBI::Parser::SigBuilder.new(@ruby_contents, file: @file)
183
- builder.current.loc = node.location
+ builder.current.loc = RBI::Loc.from_prism(@file, node.location)
184
builder.visit_call_node(node)
185
builder.current.comments = []
186
0 commit comments