blob: 54580cda6dc94e81cc7c7b2b5c183e578a119df6 [file] [log] [blame]
// Copyright (c) 2017, 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
/*@testedFeatures=checks*/
library test;
class C {
void set x(num value) {}
}
class D extends C {
void set x(covariant int value) {}
}
class E extends D {
void set x(int value) {}
}
main() {}