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

cannot include a module directory if some subdirectory cannot be opened #6530

Open
p6rt opened this issue Sep 17, 2017 · 1 comment
Open
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 17, 2017

Migrated from rt.perl.org#132110 (status was 'new')

Searchable as RT132110$

@p6rt
Copy link
Author

p6rt commented Sep 17, 2017

From @lefth

Use case​: for testing modules as they are being edited, developers add '.'
to the module search path. Sometimes the current directory is not perfectly
clean. That should not prevent loading modules unless they are inside the
directory that can't be read.

To reproduce​:
mkdir testdir
cd testdir
touch module.pm6
mkdir -p foo
perl6 -I. -Mmodule -e ''
# Successful output​: nothing
chmod -r foo
perl6 -I. -Mmodule -e ''
# Output​:
# ===SORRY!===
# Failed to open dir​: 13

I'm running Rakudo version 2017.08-96-ge5a600997 built on MoarVM version
2017.08.1-135-ge86428d4 implementing Perl 6.c.

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant