Skip to content

Commit 810f410

Browse files
committed
Remove unused LocalEnv#code_units_cache delegation method
1 parent b930a85 commit 810f410

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/typeprof/core/env.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,6 @@ def initialize(file_context, cref, locals, return_boxes)
333333
attr_reader :file_context, :cref, :locals, :return_boxes, :break_vtx, :next_boxes, :strict_const_scope
334334

335335
def path = @file_context&.path
336-
def code_units_cache = @file_context&.code_units_cache
337-
338336
def code_range_from_node(node)
339337
TypeProf::CodeRange.from_node(node, @file_context&.code_units_cache)
340338
end

0 commit comments

Comments
 (0)