-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
inferred macro has trouble with broadcasted operators? #20620
Comments
This is not specific to unary operators. Note julia> @inferred(foo.(true, false))
ERROR: @inferred requires a call expression and julia> const ⊕ = +
+ (generic function with 180 methods)
julia> @inferred(1 .⊕ 2)
ERROR: UndefVarError: .⊕ not defined |
@stevengj Do you have an idea how to handle dot expressions in |
An easy way to do it would be to |
Had the same idea before posting here but expanded dot expressions are not so simple. |
I came across this behavior in my StaticArrays tests:
The text was updated successfully, but these errors were encountered: