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 precompile condition to check for newer versions of julia #370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sotashimozono
Copy link

Problem

The current condition VERSION < v"0.7.0-beta2.199" && __precompile__() mistakenly allows the __precompile__() directive to be executed in older versions of Julia, which do not support it. This can lead to errors when using the package in Julia versions prior to 0.7.

Solution

The condition has been updated to VERSION >= v"0.7.0-beta2.199" && __precompile__() to ensure that __precompile__() is executed only in newer versions of Julia where it is supported.

Impact

This fix ensures compatibility with older versions of Julia while maintaining functionality in newer versions. It prevents potential runtime errors for users on Julia 0.6 or earlier.

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.

1 participant