Open
Description
It'd be great if this could work:
julia> :(public foo)
ERROR: ParseError:
# Error @ REPL[13]:1:10
:(public foo)
# └─┘ ── Expected `)`
Stacktrace:
[1] top-level scope
@ none:1
Found because I was exploring public
behaviors interactively and was trying to do something like the below — the equivalent using export
works:
julia> @eval Base begin
foo = 1
public foo
ERROR: ParseError:
# Error @ REPL[16]:3:8
foo = 1
public foo
# └─┘ ── Expected `end`
Stacktrace:
[1] top-level scope
@ none:1