diff --git a/NEWS.md b/NEWS.md index 57d729aa44257..4cbc98a2ab0a9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -24,6 +24,7 @@ Language changes * The `@invoke` macro introduced in 1.7 is now exported. Additionally, it now uses `Core.Typeof(x)` rather than `Any` when a type annotation is omitted for an argument `x` so that types passed as arguments are handled correctly. ([#45807]) +* The `invokelatest` function and `@invokelatest` macro introduced in 1.7 are now exported. ([#45831]) Compiler/Runtime improvements ----------------------------- diff --git a/base/exports.jl b/base/exports.jl index 428e6894bbafe..6343c8f86e5fd 100644 --- a/base/exports.jl +++ b/base/exports.jl @@ -660,7 +660,6 @@ export # iteration iterate, - enumerate, # re-exported from Iterators zip, only, @@ -794,6 +793,9 @@ export names, which, @isdefined, + @invoke, + invokelatest, + @invokelatest, # loading source files __precompile__, @@ -1047,5 +1049,4 @@ export @goto, @view, @views, - @static, - @invoke + @static