Skip to content

Commit

Permalink
Mark that ismutable requires julia 1.5 (#37357)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed Sep 3, 2020
1 parent 98548d7 commit 3453a5c
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 @@ -408,6 +408,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 3453a5c

Please sign in to comment.