Checkify with nested JITs #27891
Unanswered
thomaspinder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Consider the following MWE
This is behaving as expected, and the following unit test would pass
However, should an end user try to JIT a function that wraps
_check_is_positive
, then an error is throw unless the new jitted fn. has checkify applied. You may see this below, were an end-user to implement_dummy_fn
and then JIT it, then an error would be thrown. This is undesirable, and I would prefer if there was an alternative way that I can apply checkify, whilst safeguarding against end-users jitting code.Stacktrace
Beta Was this translation helpful? Give feedback.
All reactions