You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clamp syntax version to v1.13 minimum in get_project_syntax_version
Fix issue where packages with ancient compat declarations like
`julia = "1"` would have their syntax version set to v1.0, causing
the parser to reject newer syntax features like `import ... as`.
Since syntax versioning was introduced in Julia 1.14, we now clamp
the syntax version to at least v1.13 (NON_VERSIONED_SYNTAX) to match
the logic in Base.loading.jl.
This also fixes a bug in the original function where it referenced
`syntax_table["julia_version"]` instead of `p.julia_syntax_version`.
FixesJuliaLang/julia#60273
0 commit comments