Skip to content

Commit 7380acd

Browse files
committed
Import Base.Sys.isexecutable
On older versions of Julia, exporting our own `isexecutable()` was no problem, because users rarely imported `Base.Sys`, however in Julia v1.12+, `isexecutable` was moved from `Base.Sys` to `Base`, causing it to be automatically imported by everyone, so we better merge our methods.
1 parent e05cacd commit 7380acd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Abstract/ObjectHandle.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export MagicMismatch
1414
# Import methods for extension
1515
import Base: seek, seekstart, skip, position, read, readuntil, eof,
1616
getindex
17+
import Base.Sys: isexecutable
1718
import StructIO: unpack
1819

1920
"""

0 commit comments

Comments
 (0)