We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stat(::Integer)
1 parent 37f0220 commit 22c5bdcCopy full SHA for 22c5bdc
base/deprecated.jl
@@ -531,6 +531,4 @@ end
531
532
# BEGIN 1.12 deprecations
533
534
-@deprecate stat(fd::Integer) stat(RawFD(fd))
535
-
536
# END 1.12 deprecations
test/file.jl
@@ -459,6 +459,11 @@ end
459
end
460
461
462
+# Issue #51710 and PR #54855
463
+@test_throws MethodError stat(7)
464
+@test_throws MethodError ispath(false)
465
+@test_throws MethodError ispath(1)
466
+
467
# On windows the filesize of a folder is the accumulation of all the contained
468
# files and is thus zero in this case.
469
if Sys.iswindows()
0 commit comments