blob: a5fb8e3d504e4e21810fecd5918f565b7fda7cbe [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=20136
class Context
{
size_t[const(Key)] aa;
bool checkAll;
}
struct Key
{
Context context;
int i;
bool opEquals(ref const Key other) const
{
if(context.checkAll && i != other.i)
return false;
return true;
}
}