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

.perl on protoobject should not have parens #960

Closed
p6rt opened this issue Apr 29, 2009 · 5 comments
Closed

.perl on protoobject should not have parens #960

p6rt opened this issue Apr 29, 2009 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 29, 2009

Migrated from rt.perl.org#65260 (status was 'resolved')

Searchable as RT65260$

@p6rt
Copy link
Author

p6rt commented Apr 29, 2009

From @pmichaud

21​:31 <TimToady> rakudo​: "string".WHAT.perl.say
21​:31 <p6eval> rakudo 39e45d​: OUTPUT«Str()␤»
21​:31 <TimToady> .perl of a protoobject probably *shouldn't* have the ()
21​:32 <TimToady> unless we guarantee that .() on a protoobject returns the protoobject itself
21​:32 <pmichaud> I agree, shouldn't have the ().
21​:32 <pmichaud> rakudobug.
21​:32 <jnthn> Agree.
21​:32 <jnthn> And the type errors will be nicer as a result. ;-)

@p6rt
Copy link
Author

p6rt commented May 1, 2009

From @jnthn

On Wed Apr 29 14​:39​:49 2009, pmichaud wrote​:

21​:31 <TimToady> rakudo​: "string".WHAT.perl.say
21​:31 <p6eval> rakudo 39e45d​: OUTPUT«Str()␤»
21​:31 <TimToady> .perl of a protoobject probably *shouldn't* have the
()
21​:32 <TimToady> unless we guarantee that .() on a protoobject returns
the protoobject itself
21​:32 <pmichaud> I agree, shouldn't have the ().
21​:32 <pmichaud> rakudobug.
21​:32 <jnthn> Agree.
21​:32 <jnthn> And the type errors will be nicer as a result. ;-)

Fixed in git 44e1cac. Assigning to moritz++ for spectest.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented May 1, 2009

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

@p6rt
Copy link
Author

p6rt commented May 3, 2009

From @moritz

On Fri May 01 04​:47​:21 2009, jnthn@​jnthn.net wrote​:

On Wed Apr 29 14​:39​:49 2009, pmichaud wrote​:

21​:31 <TimToady> rakudo​: "string".WHAT.perl.say
21​:31 <p6eval> rakudo 39e45d​: OUTPUT«Str()␤»
21​:31 <TimToady> .perl of a protoobject probably *shouldn't* have the
()
21​:32 <TimToady> unless we guarantee that .() on a protoobject returns
the protoobject itself
21​:32 <pmichaud> I agree, shouldn't have the ().
21​:32 <pmichaud> rakudobug.
21​:32 <jnthn> Agree.
21​:32 <jnthn> And the type errors will be nicer as a result. ;-)

Fixed in git 44e1cac. Assigning to moritz++ for spectest.

Now tested in t/spec/S12-class/basic.t.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented May 3, 2009

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed May 3, 2009
@p6rt p6rt added the Bug 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