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
expr =macroexpand(__module__, expr) # to expand @static
To fix this I think the code would need to go through the expr before the macroexpand to remove and record field atomicity, and then insert @atomic for those fields in the generated constructor. Related issue: #45020
The text was updated successfully, but these errors were encountered:
MWE:
The exception is coming from here where the struct expression is expanded:
julia/base/util.jl
Line 582 in 8e9c59f
To fix this I think the code would need to go through the
expr
before themacroexpand
to remove and record field atomicity, and then insert@atomic
for those fields in the generated constructor. Related issue: #45020The text was updated successfully, but these errors were encountered: