Skip to content

Commit

Permalink
Remove TODO comments already solved
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Apr 24, 2023
1 parent 7954956 commit eb109a8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/rbs/subtractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

module RBS
class Subtractor
# TODO: Should minuend consider use directive?
def initialize(minuend, subtrahend)
@minuend = minuend
@subtrahend = subtrahend
Expand Down Expand Up @@ -57,7 +56,6 @@ def call(minuend = @minuend, context: nil)
update_decl(decl, members: children)
end

# TODO: Is context used?
private def member_exist?(owner, member, context:)
case member
when AST::Members::MethodDefinition
Expand Down Expand Up @@ -132,7 +130,6 @@ def call(minuend = @minuend, context: nil)
return unless entry
decls = entry.decls.map { |d| d.decl }

# TODO: performance
decls.each { |d| d.members.each { |m| block.call(m) } }
end

Expand Down

0 comments on commit eb109a8

Please sign in to comment.