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

Implement 'handles' for 'my'-scoped (class) variables in classes #3557

Open
p6rt opened this issue Oct 16, 2014 · 3 comments
Open

Implement 'handles' for 'my'-scoped (class) variables in classes #3557

p6rt opened this issue Oct 16, 2014 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 16, 2014

Migrated from rt.perl.org#122991 (status was 'open')

Searchable as RT122991$

@p6rt
Copy link
Author

p6rt commented Oct 16, 2014

From @masak

<masak> m​: class A { my @​.foo handles <push> }; A.push("OH", "HAI"); say A.foo
<camelia> rakudo-moar a6f181​: OUTPUT«(timeout)»
<masak> locally​: "Cannot call 'trait_mod​:<handles>'; none of these
signatures match" (Attribute, Method)
<masak> am I greedy for wanting `my` + twigil + `handles` to work?
<masak> is that even theoretically possible?
<masak> it would be so awesome.
<jnthn> masak​: my @​.foo supporting handles is a cute idea at least.
It's not entirely straightforward.
<jnthn> masak​: But feasible with effort.
<jnthn> No objections to filing a TODO ticket for it.
<masak> developer torment? sounds like... a job for Perl 6! :P
<masak> what's the saying again​: "tormenting developers just for the sake of it"
* masak submits TODO ticket

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

From @AlexDaniel

Still reproducible (2017.11,HEAD(e5b660e)) (complains about trait_mod​:<handles>)

On 2014-10-16 13​:07​:07, masak wrote​:

<masak> m​: class A { my @​.foo handles <push> }; A.push("OH", "HAI");
say A.foo
<camelia> rakudo-moar a6f181​: OUTPUT«(timeout)»
<masak> locally​: "Cannot call 'trait_mod​:<handles>'; none of these
signatures match" (Attribute, Method)
<masak> am I greedy for wanting `my` + twigil + `handles` to work?
<masak> is that even theoretically possible?
<masak> it would be so awesome.
<jnthn> masak​: my @​.foo supporting handles is a cute idea at least.
It's not entirely straightforward.
<jnthn> masak​: But feasible with effort.
<jnthn> No objections to filing a TODO ticket for it.
<masak> developer torment? sounds like... a job for Perl 6! :P
<masak> what's the saying again​: "tormenting developers just for the
sake of it"
* masak submits TODO ticket

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

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

@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant