[ruby/prism] Add a documentation about 0it

https://github.com/ruby/prism/commit/313be8e3f7
This commit is contained in:
Takashi Kokubun 2024-01-16 21:47:14 -08:00 committed by git
parent 603f2ca730
commit bcc4b07cc3

View File

@ -2044,7 +2044,8 @@ nodes:
comment: |
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,
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
^^^