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

IO::Path.perl doesn't roundtrip #6200

Closed
p6rt opened this issue Apr 20, 2017 · 3 comments
Closed

IO::Path.perl doesn't roundtrip #6200

p6rt opened this issue Apr 20, 2017 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 20, 2017

Migrated from rt.perl.org#131185 (status was 'resolved')

Searchable as RT131185$

@p6rt
Copy link
Author

p6rt commented Apr 20, 2017

From @zoffixznet

Filing this so I don't forget to fix it as part of the grant.

IO​::Path.perl passes named args to .IO coercer, but they're ignored​:

18​:16 Zoffix m​: dd ".".IO.WHAT.new(".", :SPEC(IO​::Spec​::Win32)).perl.EVAL.perl
18​:16 camelia rakudo-moar d27266​: OUTPUT​: «"\".\".IO(​:SPEC(IO​::Spec​::Unix),​:CWD(\"/home/camelia\"))"␤»

@p6rt
Copy link
Author

p6rt commented May 1, 2017

From @zoffixznet

On Thu, 20 Apr 2017 11​:18​:11 -0700, cpan@​zoffix.com wrote​:

Filing this so I don't forget to fix it as part of the grant.

IO​::Path.perl passes named args to .IO coercer, but they're ignored​:

18​:16 Zoffix m​: dd ".".IO.WHAT.new(".",
:SPEC(IO​::Spec​::Win32)).perl.EVAL.perl
18​:16 camelia rakudo-moar d27266​: OUTPUT​:
«"\".\".IO(​:SPEC(IO​::Spec​::Unix),​:CWD(\"/home/camelia\"))"␤»

Thank you for the report. This is now fixed.

Fix​: rakudo/rakudo@134efd8393
Tests​: Raku/roast@704210c519

@p6rt
Copy link
Author

p6rt commented May 1, 2017

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed May 1, 2017
@p6rt p6rt added the IO 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