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

get_bool() not implemented in class 'Stringy' #2599

Closed
p6rt opened this issue Dec 31, 2011 · 5 comments
Closed

get_bool() not implemented in class 'Stringy' #2599

p6rt opened this issue Dec 31, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Dec 31, 2011

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

Searchable as RT107336$

@p6rt
Copy link
Author

p6rt commented Dec 31, 2011

From @softmoth

<thou> nom​: my Stringy $s; say ($s ?? "Loves me some" !! "No"), " stringies.";
<p6eval> nom 2b6f86​: OUTPUT«get_bool() not implemented in class
'Stringy'␤ in block <anon> at /tmp/46D4_LdQQ6​:1␤ in <anon> at
/tmp/46D4_LdQQ6​:1␤»

Should evaluate to False.

@p6rt
Copy link
Author

p6rt commented Jan 5, 2012

From @jnthn

On Sat Dec 31 00​:56​:59 2011, tim.dolores@​gmail.com wrote​:

<thou> nom​: my Stringy $s; say ($s ?? "Loves me some" !! "No"), "
stringies.";
<p6eval> nom 2b6f86​: OUTPUT«get_bool() not implemented in class
'Stringy'␤ in block <anon> at /tmp/46D4_LdQQ6​:1␤ in <anon> at
/tmp/46D4_LdQQ6​:1␤»

Should evaluate to False.

Now​:

my Stringy $s; say ($s ?? "Loves me some" !! "No"), " stringies.";
No stringies.
my Stringy $s = ""; say ($s ?? "Loves me some" !! "No"), " stringies.";
No stringies.
my Stringy $s = "hi"; say ($s ?? "Loves me some" !! "No"), " stringies.";
Loves me some stringies.

Tagged testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 5, 2012

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

@p6rt
Copy link
Author

p6rt commented Jan 6, 2012

From @moritz

Tested in the newly created S14-roles/bool.t.

@p6rt
Copy link
Author

p6rt commented Jan 6, 2012

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

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