We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ab72b commit d021d42Copy full SHA for d021d42
1 file changed
config.yml
@@ -2631,6 +2631,14 @@ nodes:
2631
2632
super
2633
^^^^^
2634
+
2635
+ A `ForwardingSuperNode` can still have a block.
2636
+ All other arguments are forwarded as normal, except the original block is replaced with the new block.
2637
2638
+ super { 123 }
2639
+ ^^^^^^^^^^^^^
2640
2641
+ If it has any other arguments, it would be a `SuperNode` instead.
2642
- name: GlobalVariableAndWriteNode
2643
fields:
2644
- name: name
@@ -4506,6 +4514,7 @@ nodes:
4506
4514
- name: arguments
4507
4515
type: node?
4508
4516
kind: ArgumentsNode
4517
+ comment: "Can be `nil` when there are empty parentheses, like `super()`."
4509
4518
- name: rparen_loc
4510
4519
type: location?
4511
4520
- name: block
0 commit comments