lib/rbs/location_aux.rb in rbs-3.6.0.dev.1 vs lib/rbs/location_aux.rb in rbs-3.6.0.pre.1

- old
+ new

@@ -47,18 +47,14 @@ def end_column end_loc[1] end def start_loc - @start_loc ||= begin - _start_loc || buffer.pos_to_loc(start_pos) - end + @start_loc ||= buffer.pos_to_loc(start_pos) end def end_loc - @end_loc ||= begin - _end_loc || buffer.pos_to_loc(end_pos) - end + @end_loc ||= buffer.pos_to_loc(end_pos) end def range @range ||= start_pos...end_pos end