Skip to content

Commit 754641a

Browse files
committed
f
1 parent db70b40 commit 754641a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs/line_matching_translator.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ def apply_class_annotation(annotation, parent_node:, insert_pos:, sorbet_replace
4242
# @override
4343
#: (Spoom::RBS::Annotation, RBI::Sig) -> void
4444
def rewrite_annotation(annotation, is_known:)
45-
text = is_known ? " RBS_REWRITTEN_ANNOTATION:" : " RBS_IGNORED_UNKNOWN_ANNOTATION:"
4645
annotation_start = annotation.location.start_offset + 1 # skip past the `#`
47-
48-
puts "Inserting #{is_known ? "known" : "unrecognized"} annotation placeholder for annotation #{annotation.string.inspect} at location #{annotation.location}"
46+
text = is_known ? " RBS_REWRITTEN_ANNOTATION:" : " RBS_IGNORED_UNKNOWN_ANNOTATION:"
4947
@rewriter << Source::Insert.new(annotation_start, text)
5048
end
5149

0 commit comments

Comments
 (0)