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
Provide more robustness for some lowering differences (#144)
* Provide more robustness for some lowering differences
This allows some variants for struct lowering, in particular using
the `declare_` intrinsic rather than `=` and allowing an assignment
around `typebody!`.
This was developed with JuliaLang/julia#60569.
This may or may not be needed in the final version of that PR, but
it's good for this code to be less brittle there regardless since
those are reasonable lowerings.
* Guard is_declare_global with isdefined check
Core.declare_global only exists on Julia nightly (the typegroup
branch). Without this guard, accessing Core.declare_global throws
UndefVarError on Julia 1.10/1.12/release, matching the existing
pattern used by is_declare_const.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Keno Fischer <Keno@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments