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

Gem does not work with ruby < 2.3 because of Safe Navigation Operator (&.) usage #80

Closed
prateekbaheti opened this issue May 18, 2018 · 1 comment

Comments

@prateekbaheti
Copy link
Contributor

Usage of safe navigation operator in

elsif ast&.children
makes the gem incompatible with ruby versions below 2.3

One of the below could be done:

  • The Gemspec needs to be updated to reflect ruby version support
  • The usage could be replaced with a nil check to support lower versions of ruby
@gaugebot
Copy link

gaugebot bot commented Sep 12, 2018

The fix should be available in nightly >= 12-8-2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants