Skip to content

Commit

Permalink
Mark that ismutable requires julia 1.5 (#37357)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3453a5c)
  • Loading branch information
oxinabox authored and KristofferC committed Sep 10, 2020
1 parent 1efe7b7 commit 29a880b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@ false
julia> ismutable([1,2])
true
```
!!! compat "Julia 1.5"
This function requires at least Julia 1.5.
"""
ismutable(@nospecialize(x)) = (@_pure_meta; typeof(x).mutable)

Expand Down

0 comments on commit 29a880b

Please sign in to comment.