diff options
author | Kevin Newton <[email protected]> | 2023-12-06 15:32:53 -0500 |
---|---|---|
committer | git <[email protected]> | 2023-12-06 20:50:02 +0000 |
commit | fe6ee5e92148755b75ffd00ab29611b59a416d5a (patch) | |
tree | 9283cde10b67c8daec7c56511f58ed9133569377 /lib | |
parent | cbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff) |
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'lib')
-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), |