Skip to content

Commit eb1c0d1

Browse files
authored
add compat annotation to NamedTuple macro docs (#34880)
1 parent 3dac6dd commit eb1c0d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/namedtuple.jl

+3
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ julia> @NamedTuple begin
350350
end
351351
NamedTuple{(:a, :b),Tuple{Float64,String}}
352352
```
353+
354+
!!! compat "Julia 1.5"
355+
This macro is available as of Julia 1.5.
353356
"""
354357
macro NamedTuple(ex)
355358
Meta.isexpr(ex, :braces) || Meta.isexpr(ex, :block) ||

0 commit comments

Comments
 (0)