diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-04-24 10:34:02 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 12:39:31 -0700 |
commit | 4d64693c703edbccc5b155072276ce7b8c3becdb (patch) | |
tree | 423588954efc5b642fd1748984284df1591ca7d4 /ast.c | |
parent | 6a9ce1fea89bc5c6518dd6bb7ff3b824a9321976 (diff) | |
download | ruby-4d64693c703edbccc5b155072276ce7b8c3becdb.tar.gz |
Make ripper support **nil syntax
The on_params hook will use :nil as the keyword rest argument.
There is a new on_nokw_param hook as well.
This fixes a type issue in the previous code, where an ID was
passed where a VALUE was the declared type. The symbol :nil is
passed instead of the id.
Diffstat (limited to 'ast.c')
0 files changed, 0 insertions, 0 deletions