Navigation Menu

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

Smartmatching against a class yields an Int result, not a Bool result in Rakudo #2239

Closed
p6rt opened this issue Nov 1, 2010 · 3 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 1, 2010

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

Searchable as RT78748$

@p6rt
Copy link
Author

p6rt commented Nov 1, 2010

From @masak

<masak> rakudo​: class A {}; subset B of A; say A ~~ B; say B ~~ A
<p6eval> rakudo 5f5bae​: OUTPUT«Bool​::True␤1␤»
<masak> interesting answer :)
* masak submits rakudobug

In my humble opinion, the latter result should be Bool​::True as well.

@p6rt
Copy link
Author

p6rt commented Oct 2, 2011

From @moritz

Is a Bool now, tested in S12-subset/subtypes.t

@p6rt
Copy link
Author

p6rt commented Oct 2, 2011

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

@p6rt p6rt closed this as completed Oct 2, 2011
@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