-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
julia .
does not fail
#51791
Comments
The program (
See e.g. #36605. |
I think this can be closed as a dup since this is just a "downstream" effect of #36605 |
I disagree - currently, #36605 is not yet solved because checking whether a file is a directory is an expensive operation. So, that issue may be closed because it's deemed that the check is not worth it. |
We could either make this an explicit check when loading source code, or we could try measuring performance of using faccessat to check for the ENOTDIR error as a quick |
If a directory is passed as the script to
julia
, no error is raised, but nothing happens. Possibly a consequence of #36605.Ideally, this should throw an error.
Example:
More insidious example
The text was updated successfully, but these errors were encountered: