Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typeof(ref) shown on stdout #69

Open
c42f opened this issue Aug 24, 2021 · 3 comments
Open

typeof(ref) shown on stdout #69

c42f opened this issue Aug 24, 2021 · 3 comments

Comments

@c42f
Copy link

c42f commented Aug 24, 2021

I just got the following inscrutable message on stdout while using Revise, and tracked it to LoweredCodeUtils:

ref = :(_1)
typeof(ref) = Core.SlotNumber

Presumably this was emitted by the line here:

isa(ref, GlobalRef) || @show ref typeof(ref)

Strangely this doesn't seem to have triggered the assert on the next line (or if it did, the error was swallowed somewhere, because I didn't see an AssertionError).

@c42f
Copy link
Author

c42f commented Aug 24, 2021

So far I've only observed this a single time, but I'll post a reproducer if I find one.

@c42f
Copy link
Author

c42f commented Aug 24, 2021

I've seen this more than once now, but still no idea what causes it.

@timholy
Copy link
Member

timholy commented Aug 24, 2021

Maybe dev LoweredCodeUtils and add a few additional things to @show: bodyparent JuliaInterpreter.whereis(frame)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants