#1442: Sub PMC should support getattribute
-----------------------------+----------------------------------------------
Reporter: Austin_Hastings | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------------+----------------------------------------------
Comment(by Austin_Hastings):
Here's what I'm talking about:
{{{
aus...@andlinux:~/kakapo$ cat test.nqp
Foo::foo();
module Foo;
sub foo() {
my &sub := Foo::foo;
my $class := pir::class__PP(&sub);
my %attrs := $class.inspect('attributes');
for %attrs {
say($_);
}
}
aus...@andlinux:~/kakapo$ parrot-nqp test.nqp
outer_ctx
method_name
name
proxy
eval_pmc
HLL_id
namespace_name
ctx
namespace_stash
ns_entry_name
lex_info
vtable_index
subid
outer_sub
multi_signature
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1442#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets