File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2164,8 +2164,8 @@ Provides a convenient way to call [`invokelatest`](@ref).
21642164It also supports the following syntax:
21652165- `@invokelatest x.f` expands to `Base.invokelatest(getproperty, x, :f)`
21662166- `@invokelatest x.f = v` expands to `Base.invokelatest(setproperty!, x, :f, v)`
2167- - `@invokelatest xs[i]` expands to `invoke (getindex, xs, i)`
2168- - `@invokelatest xs[i] = v` expands to `invoke (setindex!, xs, v, i)`
2167+ - `@invokelatest xs[i]` expands to `Base.invokelatest (getindex, xs, i)`
2168+ - `@invokelatest xs[i] = v` expands to `Base.invokelatest (setindex!, xs, v, i)`
21692169
21702170```jldoctest
21712171julia> @macroexpand @invokelatest f(x; kw=kwv)
@@ -2191,7 +2191,7 @@ julia> @macroexpand @invokelatest xs[i] = v
21912191 Prior to Julia 1.9, this macro was not exported, and was called as `Base.@invokelatest`.
21922192
21932193!!! compat "Julia 1.10"
2194- The additional syntax is supported as of Julia 1.10.
2194+ The additional `x.f` and `xs[i]` syntax requires Julia 1.10.
21952195"""
21962196macro invokelatest (ex)
21972197 topmod = Core. Compiler. _topmod (__module__) # well, except, do not get it via CC but define it locally
You can’t perform that action at this time.
0 commit comments