@@ -251,7 +251,7 @@ def with_nonreturn_void?
251251 # `void` in immediate generics parameter is allowed
252252 false
253253 else
254- type . with_nonreturn_void? # steep:ignore DeprecatedReference
254+ type . with_nonreturn_void?
255255 end
256256 end
257257 end
@@ -530,7 +530,7 @@ def has_classish_type?
530530 end
531531
532532 def with_nonreturn_void?
533- each_type . any? { |type | type . with_nonreturn_void? } # steep:ignore DeprecatedReference
533+ each_type . any? { |type | type . with_nonreturn_void? }
534534 end
535535 end
536536
@@ -648,7 +648,7 @@ def has_classish_type?
648648 end
649649
650650 def with_nonreturn_void?
651- each_type . any? { |type | type . with_nonreturn_void? } # steep:ignore DeprecatedReference
651+ each_type . any? { |type | type . with_nonreturn_void? }
652652 end
653653 end
654654
@@ -734,7 +734,7 @@ def has_classish_type?
734734 end
735735
736736 def with_nonreturn_void?
737- each_type . any? { |type | type . with_nonreturn_void? } # steep:ignore DeprecatedReference
737+ each_type . any? { |type | type . with_nonreturn_void? }
738738 end
739739 end
740740
@@ -825,7 +825,7 @@ def has_classish_type?
825825 end
826826
827827 def with_nonreturn_void?
828- each_type . any? { |type | type . with_nonreturn_void? } # steep:ignore DeprecatedReference
828+ each_type . any? { |type | type . with_nonreturn_void? }
829829 end
830830 end
831831
@@ -908,7 +908,7 @@ def has_classish_type?
908908 end
909909
910910 def with_nonreturn_void?
911- each_type . any? { |type | type . with_nonreturn_void? } # steep:ignore DeprecatedReference
911+ each_type . any? { |type | type . with_nonreturn_void? }
912912 end
913913 end
914914
@@ -1278,13 +1278,13 @@ def has_classish_type?
12781278 end
12791279
12801280 def with_nonreturn_void?
1281- if each_param . any? { |param | param . type . with_nonreturn_void? } # steep:ignore DeprecatedReference
1281+ if each_param . any? { |param | param . type . with_nonreturn_void? }
12821282 true
12831283 else
12841284 if return_type . is_a? ( Bases ::Void )
12851285 false
12861286 else
1287- return_type . with_nonreturn_void? # steep:ignore DeprecatedReference
1287+ return_type . with_nonreturn_void?
12881288 end
12891289 end
12901290 end
@@ -1557,11 +1557,11 @@ def has_classish_type?
15571557 end
15581558
15591559 def with_nonreturn_void?
1560- if type . with_nonreturn_void? || self_type &.with_nonreturn_void? # steep:ignore DeprecatedReference
1560+ if type . with_nonreturn_void? || self_type &.with_nonreturn_void?
15611561 true
15621562 else
15631563 if block = block ( )
1564- block . type . with_nonreturn_void? || block . self_type &.with_nonreturn_void? || false # steep:ignore DeprecatedReference
1564+ block . type . with_nonreturn_void? || block . self_type &.with_nonreturn_void? || false
15651565 else
15661566 false
15671567 end
0 commit comments