diff options
Diffstat (limited to 'lib/prism/desugar_compiler.rb')
-rw-r--r-- | lib/prism/desugar_compiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/desugar_compiler.rb b/lib/prism/desugar_compiler.rb index 1fba370613..f92ca9e475 100644 --- a/lib/prism/desugar_compiler.rb +++ b/lib/prism/desugar_compiler.rb @@ -159,13 +159,13 @@ module Prism CallNode.new( read_class.new(*arguments, node.name_loc), nil, + node.operator_loc.slice.chomp("="), node.operator_loc.copy(length: node.operator_loc.length - 1), nil, ArgumentsNode.new([node.value], 0, node.value.location), nil, nil, 0, - node.operator_loc.slice.chomp("="), node.location ), node.operator_loc.copy(start_offset: node.operator_loc.end_offset - 1, length: 1), |