dartc doesn't handle static fields properly in interfaces #2479
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
closed-obsolete
Closed as the reported issue is no longer relevant
Milestone
This issue was originally filed by [email protected]
dartc fails co19 test Language/07_Classes/9_Superinterfaces_A04_t01.dart
/**
* @assertion An interface I inherits any members of its superinterfaces that
* are not overridden by members declared in I.
* @description Checks that an interface inherits static members of its superinterfaces
* (which can only be final initialized fields, according to grammar).
* @author vasya
* @reviewer rodionov
* @needsreview issue #7
*/
interface S {
static final int foo = 1;
}
interface I extends S {
}
main() {
Expect.equals(S.foo, I.foo);
}
The text was updated successfully, but these errors were encountered: