We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Base.@nospecializeinfer
1 parent 7d7cc06 commit d6680cfCopy full SHA for d6680cf
base/expr.jl
@@ -850,6 +850,9 @@ while it can not infer the concrete return type of it.
850
Without the `@nospecializeinfer`, `f([1.0])` would infer the return type of `g` as `Float64`,
851
indicating that inference ran for `g(::Vector{Float64})` despite the prohibition on
852
specialized code generation.
853
+
854
+!!! compat "Julia 1.10"
855
+ Using `Base.@nospecializeinfer` requires Julia version 1.10.
856
"""
857
macro nospecializeinfer(ex)
858
esc(isa(ex, Expr) ? pushmeta!(ex, :nospecializeinfer) : ex)
0 commit comments