blob: 6303261a98f9db72df42c69b362474f5fd4beeaa [file] [log] [blame]
class HasNone {}
class HasIndexGet {
operator [](_) {}
}
class HasIndexSet {
operator []=(_, _) {}
}
class HasIndexGetSet {
operator [](_) {}
operator []=(_, _) {}
}
extension HasNoneExtension on HasNone {
operator [](_) {}
operator []=(_, _) {}
}
extension HasIndexGetExtension on HasIndexGet {
operator [](_) {}
operator []=(_, _) {}
}
extension HasIndexSetExtension on HasIndexSet {
operator [](_) {}
operator []=(_, _) {}
}
extension HasIndexGetSetExtension on HasIndexGetSet {
operator [](_) {}
operator []=(_, _) {}
}
implicit(
HasNone hasNone,
HasIndexGet hasIndexGet,
HasIndexSet hasIndexSet,
HasIndexGetSet hasIndexGetSet,
) {}
explicit(
HasNone hasNone,
HasIndexGet hasIndexGet,
HasIndexSet hasIndexSet,
HasIndexGetSet hasIndexGetSet,
) {}