diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-01-16 21:47:14 -0800 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-01-17 17:47:33 +0000 |
| commit | bcc4b07cc318df3d5f53f14e36829eeab4066ecc (patch) | |
| tree | 634d01cfd3e468e51cb09e6748eb6751670f74bf | |
| parent | 603f2ca730cc62818a7a9852291f5877cbadd55d (diff) | |
[ruby/prism] Add a documentation about 0it
https://github.com/ruby/prism/commit/313be8e3f7
| -rw-r--r-- | prism/config.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/prism/config.yml b/prism/config.yml index 0bff427bbf..ed331edbe2 100644 --- a/prism/config.yml +++ b/prism/config.yml @@ -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 ^^^ |
