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

.WHICH and === on type objects with mixins are wrong #3407

Closed
p6rt opened this issue Jun 3, 2014 · 4 comments
Closed

.WHICH and === on type objects with mixins are wrong #3407

p6rt opened this issue Jun 3, 2014 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jun 3, 2014

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

Searchable as RT122030$

@p6rt
Copy link
Author

p6rt commented Jun 3, 2014

From @moritz

<moritz> m​: say (Any but role { }) === (Any but role { })
<camelia> rakudo-moar 68060f​: OUTPUT«True␤»

That's wrong; they aren't identical; they don't even smart-match​:

<moritz> m​: say (Any but role { }) ~~ (Any but role { })
<camelia> rakudo-moar 68060f​: OUTPUT«False␤»

@p6rt
Copy link
Author

p6rt commented Oct 10, 2015

From @niner

Fixed in Rakudo​: rakudo/rakudo@86731df15f
Test in roast​: Raku/roast@3102a85a0b

@p6rt
Copy link
Author

p6rt commented Oct 10, 2015

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

@p6rt p6rt closed this as completed Oct 10, 2015
@p6rt
Copy link
Author

p6rt commented Oct 10, 2015

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

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