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

Any.WHAT.Str is screwed up #1932

Closed
p6rt opened this issue Jul 12, 2010 · 6 comments
Closed

Any.WHAT.Str is screwed up #1932

p6rt opened this issue Jul 12, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jul 12, 2010

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

Searchable as RT76482$

@p6rt
Copy link
Author

p6rt commented Jul 12, 2010

From @jnthn

Oh wtf...

01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()␤»
01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT.Str
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()<0x3981a00>␤»

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 24, 2011

From @coke

On Mon Jul 12 16​:01​:43 2010, jnthn@​jnthn.net wrote​:

Oh wtf...

01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()␤»
01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT.Str
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()<0x3981a00>␤»

10​:16 < [Coke]> rakudo​: my $foo; say $foo.WHAT.Str;
10​:16 <+p6eval> rakudo 09a598​: OUTPUT«Use of uninitialized value in string
  context␤␤»

I don't know if it's better, but it is different.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Sep 24, 2011

From @coke

On Sat Sep 24 07​:29​:18 2011, coke wrote​:

On Mon Jul 12 16​:01​:43 2010, jnthn@​jnthn.net wrote​:

Oh wtf...

01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()␤»
01​:04 <@​jnthn> rakudo​: my $foo; say $foo.WHAT.Str
01​:04 < p6eval> rakudo 94d01f​: OUTPUT«Any()<0x3981a00>␤»

10​:16 < [Coke]> rakudo​: my $foo; say $foo.WHAT.Str;
10​:16 <+p6eval> rakudo 09a598​: OUTPUT«Use of uninitialized value in string
context␤␤»

I don't know if it's better, but it is different.

Ah, better, according to jnthn++ ; Needs tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @moritz

Tested in S12-class/type-object.t.

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

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

@p6rt p6rt closed this as completed Sep 26, 2011
@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant