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
This was a discussion i had with Mike Innes about a year back.
The problem with DoesNotExist() is that you really have no idea where it came from.
Which in turn makes erroring on doing things with it problematic.
We could replace it with a macro (and probably rename it at the same time, #262).
If debugmode is enables tha macro could replace every instance with one that uses the same trick we use in for Thunks to capture the source location into a field.
Or for (much) higher performance cost, we could capture the stacktrace.
This would solve the problem that people sometimes have in Zygote where they are like "where did this nothing come from?"
The text was updated successfully, but these errors were encountered:
This was a discussion i had with Mike Innes about a year back.
The problem with
DoesNotExist()
is that you really have no idea where it came from.Which in turn makes erroring on doing things with it problematic.
We could replace it with a macro (and probably rename it at the same time, #262).
If
debugmode
is enables tha macro could replace every instance with one that uses the same trick we use in for Thunks to capture the source location into a field.Or for (much) higher performance cost, we could capture the stacktrace.
This would solve the problem that people sometimes have in Zygote where they are like "where did this
nothing
come from?"The text was updated successfully, but these errors were encountered: