blob: 8b645f8535a828ed7460041a9ed6f1b162a4d81e [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.9
abstract class Foo<T> {
List<T> get list;
void setList<T>(List<T> value);
}
class Bar implements Foo<int> {
List<int> list;
void setList<int>(List<int> value) {
list = value;
}
}