Nobuyoshi Nakada

Results 126 issues of Nobuyoshi Nakada

enhancement

- Make `$:n` to refer each grammar values Ripper DSL uses these values for callbacks, but does not need indexes. - Support `[$:n, ...]` which enclose values in an array....

Prohibit a constant and safe navigation call as a loop variable of `for`.

https://bugs.ruby-lang.org/issues/20451 [ruby/fiddle] closure: free resources when an exception is raised in Closure.new GitHub: GH-102 https://github.com/ruby/fiddle/commit/81a8a56239 --- ext/fiddle/closure.c | 56 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 13 deletions(-)

Backport

This was an optimization for versions prior to 1.9 that traverse the AST at runtime.

[[Bug #20452]](https://bugs.ruby-lang.org/issues/20452)

```ruby (| This is a comment (| and nested one |) /:|) ``` https://bugs.ruby-lang.org/issues/20405