-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Backport public
support to release-3
#808
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## release-3 #808 +/- ##
=============================================
+ Coverage 81.92% 82.33% +0.40%
=============================================
Files 4 4
Lines 791 815 +24
=============================================
+ Hits 648 671 +23
- Misses 143 144 +1 ☔ View full report in Codecov by Sentry. |
The failure in 1.2 and older seems to be genuine (see https://github.com/JuliaLang/Compat.jl/actions/runs/6909455727/job/18800838907?pr=808#step:6:172). |
symbols = _get_symbols(symbols_expr) | ||
if VERSION >= v"1.11.0-DEV.469" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
symbols = _get_symbols(symbols_expr) | |
if VERSION >= v"1.11.0-DEV.469" | |
if VERSION >= v"1.11.0-DEV.469" | |
symbols = _get_symbols(symbols_expr) |
This should fix it, as the old julia versions no longer traverse the faulty path via _get_symbols
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to keep the parsing outside the version check so that folks get errors consistently on all versions.
With that change, @compat 1+1 == 2
would expand to nothing
on old versions of Julia and throw on new versions of Julia.
I've tried to implement a fix that actually supports @var_str
while still throwing on invalid inputs on all versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! That sounds like a good idea :)
Gentle bump |
cc @lgoettgens