blob: 1d19f2121cb85997deadd4b926ea98004bf480dc [file] [log] [blame]
class A {
operator [](int index) => index;
}
main() {
A? a = null;
(a!)?.toString();
(a!)?.[42];
(a!)?[42];
(a!) ? [42];
}