Skip to content

Commit

Permalink
Update base/expr.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
  • Loading branch information
aviatesk and giordano committed Aug 23, 2021
1 parent 59863e5 commit a94bb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ end
end
Base.@noinfer f(@nospecialize args...) = ...
Tells the compiler to infer `f` only with the precisely the declared types of arguments.
Tells the compiler to infer `f` only with the precisely declared types of arguments.
It can eliminate a latency problem due to excessive inference that can happen when the
compiler sees a considerable complexity of argument types during inference.
Note that this macro only has effect when used together with [`@nospecialize`](@ref),
Expand Down

0 comments on commit a94bb83

Please sign in to comment.