Skip to content

Commit 06467eb

Browse files
authored
correction to compat notice for a[begin] (#55209)
Correction to #55197: `a[begin]` indexing was added in Julia 1.4 (#33946), not in Julia 1.6 (which just changed the implementation in #35779). My bad.
1 parent b79856e commit 06467eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/docs/basedocs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,8 +1389,8 @@ implicitly begin blocks of code. See also [`;`](@ref).
13891389
collection or the first index of a dimension of an array. For example,
13901390
`a[begin]` is the first element of an array `a`.
13911391
1392-
!!! compat "Julia 1.6"
1393-
Use of `begin` as an index requires Julia 1.6 or later.
1392+
!!! compat "Julia 1.4"
1393+
Use of `begin` as an index requires Julia 1.4 or later.
13941394
13951395
# Examples
13961396
```jldoctest

0 commit comments

Comments
 (0)