-
-
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
using
and import
incorrectly reports that file is unavailable
#4492
Comments
This seems likely to be an OS X case-sensitivity issue. |
I think this happens if |
Yes, this definitely should have a better error message. |
So there is In this case, it is reporting an error and proceeds to import the definitions in the file anyway! |
If you name the file and the module to match, you don't have to use |
The file does not contain a module, just the type and function definitions; maybe this is the basic problem then? Is this an unsupported use? |
I have just updated to the latest version.
When I try to use
import
orusing
, they (sometimes?) incorrectly report that the file does not exist (at least, this is my interpretation), even though the objects defined there then work correctly:Later imports also seem to report this error.
The text was updated successfully, but these errors were encountered: