Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

fix: allow "syntax_tree-rbs" to be used in "stree write --plugin=rbs"#129

Merged
kddnewton merged 3 commits intoruby-syntax-tree:mainfrom
stainless-api:main
Jul 15, 2025
Merged

fix: allow "syntax_tree-rbs" to be used in "stree write --plugin=rbs"#129
kddnewton merged 3 commits intoruby-syntax-tree:mainfrom
stainless-api:main

Conversation

@ms-jpq
Copy link
Copy Markdown
Contributor

@ms-jpq ms-jpq commented Apr 10, 2025

Error

wrong number of arguments (given 3, expected 1..2)
/root/.local/asdf/installs/ruby/3.2.6/lib/ruby/gems/3.2.0/gems/syntax_tree-rbs-1.0.0/lib/syntax_tree/rbs.rb:44:in `format'
/root/.local/asdf/installs/ruby/3.2.6/lib/ruby/gems/3.2.0/gems/syntax_tree-6.2.0/lib/syntax_tree/cli.rb:388:in `run'
/root/.local/asdf/installs/ruby/3.2.6/lib/ruby/gems/3.2.0/gems/syntax_tree-6.2.0/lib/syntax_tree/cli.rb:671:in `block (2 levels) in process_queue'

Replication

gem "syntax_tree"
gem "syntax_tree-rbs"
bundle exec stree write -- "..."

See https://github.com/anthropics/anthropic-sdk-ruby/blob/b6fd5e4a006c0720e5256fdece4943e45bb789c8/Gemfile#L15

@gschlager
Copy link
Copy Markdown

@kddnewton Could you merge this and release a new gem version? Thanks.

@kddnewton kddnewton closed this Jul 15, 2025
@kddnewton kddnewton reopened this Jul 15, 2025
@kddnewton kddnewton merged commit 0456a10 into ruby-syntax-tree:main Jul 15, 2025
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants