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

In some cases .^methods return a ResizablePMCArray rather than a Perl 6 array in Rakudo #1549

Closed
p6rt opened this issue Feb 26, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Feb 26, 2010

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

Searchable as RT73134$

@p6rt
Copy link
Author

p6rt commented Feb 26, 2010

From @masak

<diakopter> rakudo​: say (role foo {}).^roles.[0].^methods
<p6eval> rakudo 4fc3af​: OUTPUT«returnsof␤»
<masak> rakudo​: say (role foo {}).^roles.[0].^methods.perl
<p6eval> rakudo 4fc3af​: OUTPUT«Method 'perl' not found for invocant of
class 'ResizablePMCArray' [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jun 28, 2010

From @bbkr

On Kiev build​:

$ perl6 -e 'say (role foo {}).^roles.[0].^methods'
Method 'roles' not found for invocant of class 'RoleHOW'
  in main program body at line 1

@p6rt
Copy link
Author

p6rt commented Jun 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

NOM​: works fine, taking for tests

bbkr​:nom bbkr$ ./perl6 -e 'say (role foo {}).^roles.[0].^methods'
eager elems end classify infinite flat hash list pick roll reverse sort
values keys kv pairs Array grep first join map min max minmax
postcircumfix​:<[ ]> at_pos all any one none postcircumfix​:<{ }> reduce
ACCEPTS WHERE WHICH WHY Bool so defined new CREATE bless BUILDALL
Numeric Str Stringy item say gist perl DUMP DUMP-ID isa does can clone
Capture dispatch​:<var> dispatch​:<​::> dispatch​:<!> dispatch​:<.^>
dispatch​:<.=> dispatch​:<.?> dispatch​:<.+> dispatch​:<.*> dispatch​:<hyper>

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @moritz

Now tested in S12-introspection/roles.t.

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant