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

Str.split produces non-HLL strings in Rakudo, causing Str.trans to trip up #1946

Closed
p6rt opened this issue Jul 18, 2010 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 18, 2010

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

Searchable as RT76564$

@p6rt
Copy link
Author

p6rt commented Jul 18, 2010

From @masak

<masak> rakudo​: .trans("a" => "b") for "a\nb".split("\n"); say "alive"
<p6eval> rakudo 687837​: OUTPUT«too few positional arguments​: 2 passed,
3 (or more) expected [...]
<masak> this one is on file, right? 'cause it's pretty annoying.
<moritz_> no idea
<moritz_> but I know where the tests go :-)
<moritz_> integration/real-strings.t
<masak> rakudo​: (~$_).trans("a" => "b") for "a\nb".split("\n"); say "alive"
<p6eval> rakudo 687837​: OUTPUT«alive␤»
* masak submits rakudobug, Justin Case

@p6rt
Copy link
Author

p6rt commented Jul 23, 2010

From @moritz

Fixed, tests pass (guess where... :), all is well.

@p6rt
Copy link
Author

p6rt commented Jul 23, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 23, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 23, 2010
@p6rt p6rt added the Bug label Jan 5, 2020
@lizmat lizmat changed the title Str.split produces non-Perl 6 strings in Rakudo, causing Str.trans to trip up Str.split produces non-HLL strings in Rakudo, causing Str.trans to trip up Jan 12, 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