File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -109,18 +109,14 @@ class Void < Base; end
109109 class Any < Base
110110 def initialize ( location :, todo : false )
111111 super ( location : location )
112- todo! if todo
112+ if todo
113+ @string = "__todo__"
114+ end
113115 end
114116
115117 def to_s ( level = 0 )
116118 @string || "untyped"
117119 end
118-
119- # @deprecated: this method is now called from the constructor, do not call it from outside
120- def todo!
121- @string = '__todo__'
122- self
123- end
124120 end
125121 class Nil < Base ; end
126122 class Top < Base ; end
Original file line number Diff line number Diff line change @@ -114,9 +114,6 @@ module RBS
114114 @string: String?
115115
116116 def initialize : (location: Location[bot , bot ]?, ?todo: bool ) -> void
117-
118- %a{steep:deprecated}
119- def todo! : () -> self
120117 end
121118
122119 class Nil < Base
You can’t perform that action at this time.
0 commit comments