You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> function f()
@info "info" foo=:bar
@bp
x = sin(2.0)
return x
end
f (generic function with 1 method)
julia> frame, bp = @interpret f();
┌ Info: info
└ foo = :bar
julia> JuliaInterpreter.locals(frame)
10-element Array{JuliaInterpreter.Variable,1}:
#self# = f
level = Info
std_level = Info
group = Symbol("REPL[18]")
_module = Main
logger = Logging.ConsoleLogger(Base.TTY(RawFD(0x00000019) open, 0 bytes waiting), Info, Logging.default_metafmt, true, 0, Dict{Any,Int64}())
id = :Main_456f9b5a
file = "REPL[18]"
line = 2
msg = "info"
The immediate cause for that is that those symbols show up in slotnames:
Agreed that it would be nice to fix but it's not obviously easy or even possible to do cleanly. We might need to have lowering add a field nslots that gives the number of slots prior to macro expansion. (And I'm not sure that would be easy to do either.)
or something like that.
MWE:
The immediate cause for that is that those symbols show up in
slotnames
:Not sure how we should go about fixing this.
The text was updated successfully, but these errors were encountered: