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
Rakudo tries to call role-parameter typename as a sub when using 'does' with a parameterized RHS && missing line# in the error #1194
Comments
From eternaleye@gmail.comThis code fails. Moritz believes it to be due to T not being bound when role TreeNode[::T] does Positional[T] { |
From @cokeOn Sun Aug 02 14:02:30 2009, eternaleye@gmail.com wrote:
Current failure mode is: Cannot call a method on type variable T -- |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6The error has changed (same output on MoarVM and JVM): Cannot modify an immutable TreeNode[Int] |
1 similar comment
From @usev6The error has changed (same output on MoarVM and JVM): Cannot modify an immutable TreeNode[Int] |
From @MouqThe new failure condition is due to the transfer of postcircumfix:<[ ]> from methods to subs. The correct way to write the @children attribute is now: has TreeNode[T] @!children handles <at_pos assign_pos bind_pos>; With this change, it works: Marking as testneeded :) On Sun Mar 01 11:40:54 2015, bartolin@gmx.de wrote:
|
From @usev6There was already a (skipped) test in S14-roles/parameterized-type.t. I adjusted the test to use '@!children handles <at_pos assign_pos bind_pos>' as Mouq++ pointed out: I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6There was already a (skipped) test in S14-roles/parameterized-type.t. I adjusted the test to use '@!children handles <at_pos assign_pos bind_pos>' as Mouq++ pointed out: I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68138 (status was 'resolved')
Searchable as RT68138$
The text was updated successfully, but these errors were encountered: