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
Error with typed Array as attribute when trying to display the type. #4936
Comments
From @Skarsnikroot@testperl6:~/piko/qdorm# perl6 -e 'class A {has Str $.n; has Str @.m}; -- Victory was near but the power of the ring couldn't be undone |
From @usev6This works now: $ $ perl6 -e 'class A {has Str $.n; has Str @.m}; for A.^attributes -> $attr {say $attr.name, $attr.type};' It looks like the problem back then was related to using gist. I tried with an older rakudo: $ $ ./perl6-m --version $ ./perl6-m -e 'class A {has Str @.array}; say A.^attributes[0].type.gist' $ ./perl6-m -e 'class A {has Str @.array}; say A.^attributes[0].type.perl' I added a test to S12-introspection/attributes.t with commit Raku/roast@b06e156032 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now: $ $ perl6 -e 'class A {has Str $.n; has Str @.m}; for A.^attributes -> $attr {say $attr.name, $attr.type};' It looks like the problem back then was related to using gist. I tried with an older rakudo: $ $ ./perl6-m --version $ ./perl6-m -e 'class A {has Str @.array}; say A.^attributes[0].type.gist' $ ./perl6-m -e 'class A {has Str @.array}; say A.^attributes[0].type.perl' I added a test to S12-introspection/attributes.t with commit Raku/roast@b06e156032 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#127059 (status was 'resolved')
Searchable as RT127059$
The text was updated successfully, but these errors were encountered: