diff options
Diffstat (limited to 'lib/prism/desugar_compiler.rb')
-rw-r--r-- | lib/prism/desugar_compiler.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prism/desugar_compiler.rb b/lib/prism/desugar_compiler.rb index f92ca9e475..daca02f35e 100644 --- a/lib/prism/desugar_compiler.rb +++ b/lib/prism/desugar_compiler.rb @@ -157,15 +157,15 @@ module Prism *arguments, node.name_loc, CallNode.new( + 0, 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), + ArgumentsNode.new(0, [node.value], node.value.location), nil, nil, - 0, node.location ), node.operator_loc.copy(start_offset: node.operator_loc.end_offset - 1, length: 1), |