Fix cask/ast/stanza
This commit is contained in:
parent
6a6ccdfa8a
commit
79a2a2d420
@ -83,11 +83,11 @@ module RuboCop
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { returns(T::Hash[Parser::Source::Range, T::Array[Parser::Source::Comment]]) }
|
sig { returns(T::Hash[Parser::Source::Map, T::Array[Parser::Source::Comment]]) }
|
||||||
def comments_hash
|
def comments_hash
|
||||||
@comments_hash ||= T.let(
|
@comments_hash ||= T.let(
|
||||||
Parser::Source::Comment.associate_locations(stanza_node.parent, all_comments),
|
Parser::Source::Comment.associate_locations(stanza_node.parent, all_comments),
|
||||||
T.nilable(T::Hash[Parser::Source::Range, T::Array[Parser::Source::Comment]]),
|
T.nilable(T::Hash[Parser::Source::Map, T::Array[Parser::Source::Comment]]),
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user