Thank you again for the explanation.
I guess I got the whole picture now.
I think I'm overwriting default convert
convert(::Type{SomeType}, x::SomeType)=x
as
convert(::Type{SomeType}, x::SomeType)=SomeType(x)
Thank you again for the explanation.
I guess I got the whole picture now.
I think I'm overwriting default convert
convert(::Type{SomeType}, x::SomeType)=x
as
convert(::Type{SomeType}, x::SomeType)=SomeType(x)