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

"try" not working in conjunction with "map" under Windows 10 #3120

Closed
holli-holzer opened this issue Aug 10, 2019 · 1 comment
Closed

"try" not working in conjunction with "map" under Windows 10 #3120

holli-holzer opened this issue Aug 10, 2019 · 1 comment

Comments

@holli-holzer
Copy link

holli-holzer commented Aug 10, 2019

On my Windows 10 system running 6.d, when I run

perl6 -e "try { 'doesntexist'.IO.dir.grep(*.IO.f).map({ $_ }) }"

That produces this output

read from dirhandle failed: 3
  in block <unit> at -e line 1

Which is the same what happens when there is no try-block at all! This does not happen under my Ubuntu installation, so it seems to be a Windows related problem.

Also

perl6 -e "try { for ( 'doesntexist'.IO.dir.grep(*.IO.f) ) { $_ } }"

does throw no error as expected.

@coke
Copy link
Collaborator

coke commented Oct 14, 2022

Tried this just now on mac & windows, cannot reproduce the issue with a recent rakudo. Please re-open if you're still experiencing with a recent rakudo. Thanks.

@coke coke closed this as completed Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants