Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: tests/language/mixin_of_mixin_test.dart

Issue 1951363003: Report when members indirectly inherited through a mixin are not implemented (issue 26411) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixed test failures Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language/mixin_of_mixin_test.dart
diff --git a/tests/language/mixin_of_mixin_test.dart b/tests/language/mixin_of_mixin_test.dart
index 005f9597bd8fb7dc07e450180a1ca965047b6b7a..a15b20c82a51e135c404c16c98e05161d0dd2a53 100644
--- a/tests/language/mixin_of_mixin_test.dart
+++ b/tests/language/mixin_of_mixin_test.dart
@@ -34,26 +34,27 @@ class T5 extends D with M2 {} // extends a class which declares m2()
class T6 extends D with M3 {} // extends a class which declares m3()
main() {
+ /// none: static type warning, ok
new T1().a(); /// 01: static type warning, runtime error
new T1().b(); /// 02: static type warning, runtime error
- new T1().c(); /// 03: ok
+ new T1().c(); /// 03: static type warning, ok
new T2().a(); /// 04: static type warning, runtime error
new T2().b(); /// 05: static type warning, runtime error
new T2().c(); /// 06: static type warning, runtime error
- new T2().m2(); /// 07: ok
+ new T2().m2(); /// 07: static type warning, ok
new T3().a(); /// 08: static type warning, runtime error
new T3().b(); /// 09: static type warning, runtime error
new T3().c(); /// 10: static type warning, runtime error
- new T3().m3(); /// 11: ok
+ new T3().m3(); /// 11: static type warning, ok
new T4().a(); /// 12: static type warning, runtime error
new T4().b(); /// 13: static type warning, runtime error
- new T4().c(); /// 14: ok
+ new T4().c(); /// 14: static type warning, ok
new T5().a(); /// 15: static type warning, runtime error
new T5().b(); /// 16: static type warning, runtime error
new T5().c(); /// 17: static type warning, runtime error
- new T5().m2(); /// 18: ok
+ new T5().m2(); /// 18: static type warning, ok
new T6().a(); /// 19: static type warning, runtime error
new T6().b(); /// 20: static type warning, runtime error
new T6().c(); /// 21: static type warning, runtime error
- new T6().m3(); /// 22: ok
+ new T6().m3(); /// 22: static type warning, ok
}

Powered by Google App Engine
This is Rietveld 408576698