Closed chiastolite closed 3 years ago
Hi @chiastolite, thanks for the PR--good catch.
Looks like my CI has rusted so I may have to take a few minutes to fix that. I will try to fix the build and cut a release sometime soon.
Actually, could we make it possible to bundle with parser 3.x as well? I don't think RSpectre uses any of the parser 2.x-specific APIs.
Actually, could we make it possible to bundle with parser 3.x as well? I don't think RSpectre uses any of the parser 2.x-specific APIs.
Yeah, that probably makes sense 👍 parser
is kind of odd to choose a range for since it's not traditional semver. I guess we want > 2.5
and maybe or maybe not < 4
(though that probably doesn't matter since we won't have a ruby 4 for who knows how long unless they change the versioning scheme)?
Closing this in favor of #43 since the external commit didn't build (this config should be fixed) and I wanted to adjust the constraint a bit. Thanks for the report!
Reproduction script
This causes the following error.
Because Parser::TreeRewriter is available since parser 2.5.0 or later.
This is related to #21