blob: bf49b71417c3bbf5a1826c37b43ce1348c411735 [file] [log] [blame]
// @dart = 2.9
class Foo {
List list = [1, 2, 3];
set first(x) => list[0] = x;
operator []=(x, y) => list[x] = y;
void clear() => list.clear();
}
main() {}