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
has initializers should be methods with 'self' #968
Comments
From jswitzer@gmail.comI ran into a bug where I couldn't refer to 'self' when it logically made (15:33:15) s1n: rakudo: class A { has %.H = (a => -> $x { self.c($x) }); I am sure there are far simpler test cases. jnth++ agrees that people may be -Jason "s1n" Switzer |
From @pmichaudOn Sun May 03 13:51:11 2009, s1n wrote:
I don't see anything in the spec that indicates that the body of the If that's not the case, we probably need a spec update. In the Also, S12 indicates that C<self> is a function, whereas we currently Thanks, Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaud21:00 <TimToady> pmichaud: note that for the self ticket, the phrase in |
From @pmichaud21:08 <pmichaud> in the general case, though, is 'self' available in the |
From @jnthnOn Mon May 04 14:07:56 2009, pmichaud wrote:
Updated Rakudo to work this way in git 6229131. So now these work:
And:
Did some unfudging and additions to S12-attributes/instance.t. Thanks, Jonathan |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#65346 (status was 'resolved')
Searchable as RT65346$
The text was updated successfully, but these errors were encountered: