-
Notifications
You must be signed in to change notification settings - Fork 35
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
Tagging causing inconsistent behavior #133
Comments
Note that Core.println actually throws a different error: ArgumentError: I still don't really understand the difference between Main.println and Core.println but this might be related to the async IO comments on the Julia slack. |
Notes from my exploration today. You shouldn't need to untag yourself. |
Looks like the ntuple-ing on L448 in context.jl:
Will try a few things if I have time today. |
@vchuravy I edited the example to not manually untag things. |
The following code should produce the same output twice. However, when tagging is enabled, wildly different code branches seem to be taken, and the tagging version fails with a
MethodError
Code:
When
IdentityCtx
runs (first 20 lines):When the
TaggingCtx
runs (first 20 lines)j:The
IdentityCtx
case runs to the end, but the tagging one fails after some number of lines, with a very deep stack trace (43 entries):The text was updated successfully, but these errors were encountered: