-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Compiler bug when requiring module #8665
Comments
Ooops. Amazing that nobody has not this before... |
That library should be called |
@RX14 Technically that's probably better, but nothing says library names can't end with |
yeah, this should be fixed but worth mentinoing best practices |
Right. It wasn't clear to me if your comment was just directed at the OP to give some advice or to generally rule out requiring directories ending with |
That was my suspicion. I've been using the language for all of about one hour and it just so happened I wanted use that library for my first project. The extension did seem odd as I’d not seen it before in the tutorials. Thanks for looking into it! |
What should be done in this case? Maybe if a directory name ends with ".cr" we should error and tell the user that directories with ".cr" are not allowed because they are confusing? |
@asterite That's an option. But I'm actually not sure if this should be forbidden. The path lookup could just treat a directory as a directory even if it ends in |
I just raw into this bug while trying to use https://github.com/firejox/fftw.cr 😬 Currently I'm unable to do so. Creating a brand new crystal project where the shards.yml includes it like:
And a
This lib has existed for awhile, but has no "Issues", so I'm not sure if it's actually been used before :P |
Hi. I hit a compiler bug that the error message said to report.
Here's the exception:
Source (literally the whole file):
shard.yml:
Thanks!
The text was updated successfully, but these errors were encountered: