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

Fix to the local variables bug (#12) #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FranKusmiruk
Copy link

Whereas this fix isn't ideal, it does fix the issue with local
variables, I honestly didn't think a lot about a better solution
so I am open to suggestions.

The aim of the PR besides fixing this bug is:

  • Updating the build.gradle dependencies.
  • Removing support for 2.2 series (since supporting it at this point would make this a real mess).
  • Fixing a bug with the recently added timeout feature (currently throws a NPE since you've forgot to declare the input expression as nullable in the pattern).

And also update many other things
Whereas this fix isn't ideal, it does fix the issue with local
variables, I honestly didn't think a lot about a better solution
so I am open to suggestions.

This commit also fixes a bug with the timeout feature throwing
a NPE.
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the gradle wrapper since I am currently using Java 11, which 3.3 has no support for. I am fine if you want me to revert this change.

@btk5h
Copy link
Owner

btk5h commented Jul 2, 2019

Sorry for just getting to this now, this fix looks good, though executeStatement should return the variables it needs to modify instead of keeping that information inside of a field.

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.

2 participants