Skip to content
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

Crystal::Loader: don't check if file exists, leave that to dlopen #12207

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

asterite
Copy link
Member

@asterite asterite commented Jul 5, 2022

Fixes #12204

Follow-up on #12140
Same as #11852

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:interpreter labels Jul 5, 2022
@@ -89,7 +89,7 @@ class Crystal::Loader

@search_paths.each do |directory|
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could change this to @search_paths.any? but I didn't want to introduce a diff bigger than necessary here

@beta-ziliani beta-ziliani added this to the 1.5.0 milestone Jul 5, 2022
@straight-shoota straight-shoota merged commit 3f54594 into master Jul 5, 2022
@straight-shoota straight-shoota deleted the bug/crystal-loader-dont-check-file-exists branch July 5, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:interpreter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interpreter doesn't find libiconv on master on Mac
4 participants