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

Smart-matching against True and False should not be a fatal error #2037

Closed
p6rt opened this issue Aug 8, 2010 · 3 comments
Closed

Smart-matching against True and False should not be a fatal error #2037

p6rt opened this issue Aug 8, 2010 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Aug 8, 2010

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

Searchable as RT77080$

@p6rt
Copy link
Author

p6rt commented Aug 8, 2010

From @moritz

Commits c716715817e6735832604e903389453f47df5d97 and
590f3ba0ffab5ae4a689f71bc86a22cdfe3ddfad broke
t/spec/S03-smartmatch/any-bool.t​:

$ ./perl6 t/spec/S03-smartmatch/any-bool.t
===SORRY!===
Smartmatch against True always matches; if you mean to test the topic
for truthiness, use :so or *.so or ?* instead at line 7, near " True), "

@p6rt
Copy link
Author

p6rt commented Jun 25, 2012

From @pmichaud

Tests updated in b61ccd1.

Resolving ticket.

Pm

@p6rt
Copy link
Author

p6rt commented Jun 25, 2012

@pmichaud - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jun 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant