If I have the following struct in a module tracked by Revise:
module ReviseBug
struct Foo <: AbstractDict{String,Foo}
d::Dict{String,Foo}
end
end
it gives the error message invalid redefinition of constant ReviseBug.Foo when revising (even if I don't change the definition of Foo).
On the other hand, this works well:
module ReviseBug
struct Foo
d::Dict{String,Foo}
end
end
when revising.
I'm using Julia 1.10.2 and Revise v3.5.14.