[ruby/prism] Add a documentation about 0it
https://github.com/ruby/prism/commit/313be8e3f7
This commit is contained in:
parent
603f2ca730
commit
bcc4b07cc3
@ -2044,7 +2044,8 @@ nodes:
|
|||||||
comment: |
|
comment: |
|
||||||
Represents reading a local variable. Note that this requires that a local
|
Represents reading a local variable. Note that this requires that a local
|
||||||
variable of the same name has already been written to in the same scope,
|
variable of the same name has already been written to in the same scope,
|
||||||
otherwise it is parsed as a method call.
|
otherwise it is parsed as a method call. Note that `it` default parameter
|
||||||
|
has `0it` as the name of this node.
|
||||||
|
|
||||||
foo
|
foo
|
||||||
^^^
|
^^^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user