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
WhateverCode objects don't have a signature #1317
Comments
From @moritz22:53 <@moritz_> rakudo: say (*-3).signature.perl I'd expect those two things to have the same signature (don't care about |
From @jnthnOn Thu Sep 24 13:56:16 2009, moritz wrote:
This is no longer the case: 00:37 <@jnthn> rakudo: say (*-3).signature.perl Giving to moritz++ for spectest. Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzAnd now properly tested in S02-builtin_data_types/whatever.t. |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/whatever.t commit 8883b7464721ad7dc4e280e5e55b99c749207183 [t/spec] tests for RT #69362, signatures of WhateverCode objects Inline Patchdiff --git a/t/spec/S02-builtin_data_types/whatever.t b/t/spec/S02-builtin_data_types/whatever.t
index b8f4c7f..53abcbf 100644
--- a/t/spec/S02-builtin_data_types/whatever.t
+++ b/t/spec/S02-builtin_data_types/whatever.t
@@ -176,6 +176,15 @@ is (0,0,0,0,0,0) >>+>> ((1,2) xx *), <1 2 1 2 1 2>, 'xx * works';
is $x('dog'), 'GOD', 'we call both methods';
}
+# RT #69362
+{
+ my $x = *.uc;
+ my $y = * + 3;
+ ok $x.signature, 'Whatever-curried method calls have a signature';
+ ok $y.signature, 'Whatever-curried operators have a signature';
+
+}
+
done_testing;
# vim: ft=perl6 |
Migrated from rt.perl.org#69362 (status was 'resolved')
Searchable as RT69362$
The text was updated successfully, but these errors were encountered: