-
Notifications
You must be signed in to change notification settings - Fork 2
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
Escape more narrowly in @message #46
Conversation
Build failure is due to old Julia version (v1.6.7). This should work on Julia v1.10.0. |
Currently we define compat bounds for Two questions to think about:
I don't have strong opinions on both, but would like us to think through this. @ettersi @notthetup thoughts? |
I support bumping up minimum Julia version. I don't think we're restricted on that side of things by anything. |
Just to be sure that we're on the same page: We are talking about bumping minimum Julia version for all of |
No harm having the discussion regarding minimum supported version, but isexpr is a one liner, so we don't need to upgrade for that. |
The last LTS is 1.6.7 right? |
Maybe I am confused then. As per my understanding, your implementation of If so, we have 4 options:
|
That is correct, but isexpr(@nospecialize(ex), head::Symbol) = isa(ex, Expr) && ex.head === head So all problems around From my point of view, the ideal solution would be this:
Having said this, I can also see the logic behind @mchitre's Option 1:
I admit that as of now I can't think of a practically relevant situation where the solution currently implemented in the Regarding minimum supported Julia version: Is there any reason for us to support anything before the current LTS version? As far as I'm aware, the only Julia versions we really need are the ones currently running in our modems. So currently that would be v1.7.1, and soon this will be replaced by v1.10? |
|
... and the version running on the modems 😉 |
LGTM. Happy to merge this in. We can only drop this much much later when LTS moves to a release after this gets merged in Julia base. So this stays in as part of fjåge. |
No description provided.