summaryrefslogtreecommitdiff
path: root/lib/prism/desugar_compiler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prism/desugar_compiler.rb')
-rw-r--r--lib/prism/desugar_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/desugar_compiler.rb b/lib/prism/desugar_compiler.rb
index 232c6ecb37..3624217686 100644
--- a/lib/prism/desugar_compiler.rb
+++ b/lib/prism/desugar_compiler.rb
@@ -161,7 +161,7 @@ module Prism
nil,
node.operator_loc.copy(length: node.operator_loc.length - 1),
nil,
- ArgumentsNode.new([node.value], node.value.location),
+ ArgumentsNode.new([node.value], 0, node.value.location),
nil,
nil,
0,