Skip to content

Conversation

@ms-jpq
Copy link
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

@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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants