I’m trying to export Base:@kwdef
in a module that I am making via this line
using Base:@kwdef
export @kwdef
However, in the main module, it gets defined as var"@kwdef", how can I fix this?
I’m trying to export Base:@kwdef
in a module that I am making via this line
using Base:@kwdef
export @kwdef
However, in the main module, it gets defined as var"@kwdef", how can I fix this?
module Foo
using Base:@kwdef
export @kwdef
end
works fine for me. Please provide an MWE.