From 401601ab8d93bcce859adad19ed3e79a145bb708 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 30 Aug 2026 12:27:15 +0200 Subject: [PATCH] Bump go-ruby-parser to v0.1.5 (parenthesised call-arg assignment fix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go-ruby-parser v0.1.5 fixes a parser defect where an assignment used as a parenthesised call argument (or array element) gathered its right-hand side across commas into an implicit array: primitive_convert(src = +"…", dst = +"", nil, 10) parsed as a single argument src = [+"…", dst = [+"", nil, 10]] instead of four arguments, so the call failed with "no implicit conversion of Array into String". This is the standard mspec idiom for the mutating Encoding::Converter methods, and more generally f(a = 1, b = 2, 3) now parses as three arguments. ruby/spec ratchet FLOOR 16285 -> 16315 (measured total 16355). Co-Authored-By: Claude Opus 4.8 --- go.mod | 2 +- go.sum | 2 ++ scripts/conformance/rubyspec/FLOOR | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 8b80853f..d7adeebe 100644 --- a/go.mod +++ b/go.mod @@ -129,7 +129,7 @@ require ( github.com/go-ruby-pagy/pagy v0.0.0-20260707193354-a84fe1d16a86 github.com/go-ruby-paper-trail/paper-trail v0.0.0-20260707193452-4e10f2b4d0b3 github.com/go-ruby-parquet/parquet v0.0.0-20260704170648-c7f0507946f7 - github.com/go-ruby-parser/parser v0.1.4 + github.com/go-ruby-parser/parser v0.1.5 github.com/go-ruby-pathname/pathname v0.0.0-20260629151955-d8d2c4e5f81b github.com/go-ruby-pg/pg v0.0.0-20260702135906-e5650264cc5d github.com/go-ruby-prawn/prawn v0.0.0-20260728194101-a5f2d786bf88 diff --git a/go.sum b/go.sum index 6bf3a37f..caee9300 100644 --- a/go.sum +++ b/go.sum @@ -521,6 +521,8 @@ github.com/go-ruby-parquet/parquet v0.0.0-20260704170648-c7f0507946f7 h1:kuL9coQ github.com/go-ruby-parquet/parquet v0.0.0-20260704170648-c7f0507946f7/go.mod h1:reJ/Dgyv5OWqVEERevwU1yX6N+CB5RfTQeGWGjmnOFo= github.com/go-ruby-parser/parser v0.1.4 h1:PXET/DwT4CKzGuBs/XWMoNczw2AFo84BndzZ7IKDj/I= github.com/go-ruby-parser/parser v0.1.4/go.mod h1:NRbX4dYcQ6CgcaSaMmu1dh95QuKGq+RdenUoWU73214= +github.com/go-ruby-parser/parser v0.1.5 h1:dSdg7ByWOn59gHscsxlSDQR+Xd/1hooIZgkJY6ASKtM= +github.com/go-ruby-parser/parser v0.1.5/go.mod h1:NRbX4dYcQ6CgcaSaMmu1dh95QuKGq+RdenUoWU73214= github.com/go-ruby-pathname/pathname v0.0.0-20260629151955-d8d2c4e5f81b h1:/ZN1eLOg0oH4wF8qmd6NOyB4ENYthx6wFwOpZiPhRIE= github.com/go-ruby-pathname/pathname v0.0.0-20260629151955-d8d2c4e5f81b/go.mod h1:IvW5q5Kyl5l3hrYwiHylOEmk5hpGSo7XqcmUXBHF5H0= github.com/go-ruby-pg/pg v0.0.0-20260702135906-e5650264cc5d h1:JKIZD+pJQ64/nla4DHdzMLnc4/v45MyYwnjACwS6dyM= diff --git a/scripts/conformance/rubyspec/FLOOR b/scripts/conformance/rubyspec/FLOOR index 6413a78d..f1124092 100644 --- a/scripts/conformance/rubyspec/FLOOR +++ b/scripts/conformance/rubyspec/FLOOR @@ -1 +1 @@ -16305 +16315