-
Notifications
You must be signed in to change notification settings - Fork 30
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
JET doesn't analyze expression given to @btime
#609
Comments
The julia> report_text("""
println("This ran!")
1 + "1"
"""; concretization_patterns=Any[:x_])
This ran!
... To prevent this, I suggest you might want to consider not specifying |
Thanks @aviatesk for the prompt reply.
It should complain with |
@btime
Indeed, the code passed to |
Thanks for your reply. It seems there is no solution to my initial problem then. |
Indeed. Well, alternatively, JET could consider specially analyzing expressions provided to frequently used idiom such as |
Consider this example:
The example above shows that JET executes the macro in addition to running the usual checks. Is there a way for JET to not evaluate specific macros but only analyze the expression the macro operates on?
The text was updated successfully, but these errors were encountered: