It originally threw an error in Julia, but it turned out that checking if a file is a directory is a surprisingly expensive system call, so it was removed.
It seems the issue is stuck, since most people agree the current behaviour is bad, but forcing every file read to do a heavy system call is not a great solution
It seems the issue is stuck, since most people agree the current behaviour is bad, but forcing every file read to do a heavy system call is not a great solution