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
Just a heads up of a change in the internals in Julia for 1.8 that causes a breakage of this package:
valid: Error During Test at /home/pkgeval/.julia/packages/RedefStructs/JMYNd/test/runtests.jl:7
Test threw exception
Expression: begin
#= /home/pkgeval/.julia/packages/RedefStructs/JMYNd/test/runtests.jl:7 =# @redef struct S
end
true
end
setfield!: const field .name of type TypeName cannot be changed
Stacktrace:
[1] setproperty!(x::Core.TypeName, f::Symbol, v::Symbol)
@ Base ./Base.jl:39
[2] macro expansion
@ ~/.julia/packages/RedefStructs/JMYNd/src/RedefStructs.jl:45 [inlined]
[3] macro expansion
@ /opt/julia/share/julia/stdlib/v1.8/Test/src/Test.jl:464 [inlined]
[4] macro expansion
@ ~/.julia/packages/RedefStructs/JMYNd/test/runtests.jl:7 [inlined]
[5] macro expansion
Thanks a lot! It's been a while since I played with this package and I don't remember all the details so I'll have to take a closer look as soon as I find the time.
At a glance, I would say that if the fields of Core.TypeName are now constant (at least .name) then this package deserves to be thrown in the garbage bin. I'll see whether I manage to circumvent the new limitation or at least salvage something useful out of it.
Just a heads up of a change in the internals in Julia for 1.8 that causes a breakage of this package:
PkgEval log: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/f51f24c_vs_2ca8b0c/RedefStructs.primary.log
The text was updated successfully, but these errors were encountered: