import Base: Complex
struct Complex{T}
re::T
im::T
end
显示
cannot assign a value to variable Base.Complex from module Main
Stacktrace:
[1] top-level scope
@ In[6]:1
[2] eval
@ .\boot.jl:360 [inlined]
[3] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1116
请问该怎么做呢?