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
.trans after .subst blows up in Rakudo #1429
Comments
From @masak<masak> rakudo: "".subst(/x/, "").trans() |
From @bbkrOn Kiev build: [16:44] <bbkr> rakudo: "".subst(/x/, "").trans() taking ticket for tests |
The RT System itself - Status changed from 'new' to 'open' |
From @felliottHello, I believe this is fixed as of commit Cheers, |
From @bbkrrechecked on * release |
@bbkr - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S05-transliteration/trans.t commit c960d472288a7e5a97408a102db3ac9e4e823439 [t/spec] tests for RT #71088 .trans after .subst blows up in Rakudo Inline Patchdiff --git a/t/spec/S05-transliteration/trans.t b/t/spec/S05-transliteration/trans.t
index 2f96de4..816f3fb 100644
--- a/t/spec/S05-transliteration/trans.t
+++ b/t/spec/S05-transliteration/trans.t
@@ -10,7 +10,7 @@ String transliteration
# L<S05/Transliteration>
-plan 52;
+plan 53;
is("ABC".trans( ('A'=>'a'), ('B'=>'b'), ('C'=>'c') ),
"abc",
@@ -235,4 +235,10 @@ is($_, "X \t", 'tr/// on $_ with explicit character lists');
# y/// is dead
eval_dies_ok('$_ = "axbycz"; y/abc/def/', 'y/// does not exist any longer');
+# RT #71088
+{
+ lives_ok { "".subst(/x/, "").trans() },
+ 'trans on subst output lives';
+}
+
# vim: ft=perl6 |
Migrated from rt.perl.org#71088 (status was 'resolved')
Searchable as RT71088$
The text was updated successfully, but these errors were encountered: