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
There's no Pair.elems anymore in Rakudo #1730
Comments
From @masak<moritz_> rakudo: say (a => 1).elems |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/pairs.t commit 9fd71beb3606290483fe7542565b0ea02d438c7a [t/spec] test for RT #74732, Pair.elems Inline Patchdiff --git a/t/spec/S02-literals/pairs.t b/t/spec/S02-literals/pairs.t
index b571f67..192d3ac 100644
--- a/t/spec/S02-literals/pairs.t
+++ b/t/spec/S02-literals/pairs.t
@@ -23,7 +23,7 @@ use Test;
# S02 lists ':a' as being equivlaent to a => 1, so
# the type of the value of that pair is Int, not Bool
-plan 47;
+plan 48;
sub f1 ($a, $b) { $a.WHAT ~ $b.WHAT }
{
@@ -148,4 +148,8 @@ sub f9 (:$bar!) { WHAT($bar) }
"variables cannot be keys of syntactical pairs (3)";
}
+{
+ is (a => 3).elems, 1, 'Pair.elems';
+}
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzFixed in 6a502fcb6675d313df7739536128bf227c3814ae |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#74732 (status was 'resolved')
Searchable as RT74732$
The text was updated successfully, but these errors were encountered: