Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON gem 2.10.1 generates invalid RBI #2197

Closed
AxelTheGerman opened this issue Feb 11, 2025 · 2 comments
Closed

JSON gem 2.10.1 generates invalid RBI #2197

AxelTheGerman opened this issue Feb 11, 2025 · 2 comments

Comments

@AxelTheGerman
Copy link

Running bin/srb tc and json 2.9.1 works as expected.

But upgrading json to 2.10.1 and updating the RBI with bin/tapioca gem I'm getting the following error in sorbet:

$ bin/srb tc
sorbet/rbi/gems/[email protected]:1914: Unable to resolve constant ParserConfig https://srb.help/5002
    1914 |JSON::Ext::Parser::Config = JSON::Ext::ParserConfig

This might be due to their recent changes to the gem but they confirmed the issue is not in the gem: ruby/json#747

@andyw8
Copy link
Contributor

andyw8 commented Feb 11, 2025

sorbet/sorbet#8538

@AxelTheGerman
Copy link
Author

sorbet/sorbet#8538

Great find, will close this issue then! Thank you

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

No branches or pull requests

2 participants