lib/parser/source/tree_rewriter.rb in parser-2.5.0.2 vs lib/parser/source/tree_rewriter.rb in parser-2.5.0.3

- old
+ new

@@ -271,10 +271,10 @@ self end def check_range_validity(range) if range.begin_pos < 0 || range.end_pos > @source_buffer.source.size - raise IndexError, "The range #{action.range} is outside the bounds of the source" + raise IndexError, "The range #{range} is outside the bounds of the source" end range end def enforce_policy(event)