We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code ought to work: mixin template M() { bool opIn_r(int i) { return true; } } struct S { mixin M m; } void main() { S s; assert(5 in s.m); }
The text was updated successfully, but these errors were encountered:
*** Issue 12159 has been marked as a duplicate of this issue. ***
Sorry, something went wrong.
See also issue 5158.
No branches or pull requests
Vladimir Panteleev (@CyberShadow) reported this on 2013-12-29T13:50:54Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=11842
CC List
Description
This code ought to work: mixin template M() { bool opIn_r(int i) { return true; } } struct S { mixin M m; } void main() { S s; assert(5 in s.m); }The text was updated successfully, but these errors were encountered: