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

Unified Diff: tests/language/mixin_super_use_test.dart

Issue 1383923002: Remove --supermixin flag from VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « tests/language/mixin_super_test.dart ('k') | tests/language/mixin_superclass_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_super_use_test.dart
diff --git a/tests/language/mixin_illegal_super_use_test.dart b/tests/language/mixin_super_use_test.dart
similarity index 64%
rename from tests/language/mixin_illegal_super_use_test.dart
rename to tests/language/mixin_super_use_test.dart
index 7f0d64a39de0173b8d9520ae6c9decd24064d1d4..cd958467e19d76fbce47e73ec36d1ad0c7bb9270 100644
--- a/tests/language/mixin_illegal_super_use_test.dart
+++ b/tests/language/mixin_super_use_test.dart
@@ -9,21 +9,15 @@ class M {
class P0 {
foo() {
- super.toString(); /// 01: compile-time error
- super.foo(); /// 02: compile-time error
- super.bar = 100; /// 03: compile-time error
+ super.toString();
void inner() {
- super.toString(); /// 04: compile-time error
- super.foo(); /// 05: compile-time error
- super.bar = 100; /// 06: compile-time error
+ super.toString();
}
inner();
(() {
- super.toString(); /// 07: compile-time error
- super.foo(); /// 08: compile-time error
- super.bar = 100; /// 09: compile-time error
+ super.toString();
})();
return 42;
@@ -32,7 +26,7 @@ class P0 {
class P1 {
bar() {
- super.toString(); /// 10: compile-time error
+ super.toString();
return 87;
}
@@ -52,7 +46,7 @@ class P1 {
class P2 {
baz() {
- super.toString(); /// 11: compile-time error
+ super.toString();
return 99;
}
}
« no previous file with comments | « tests/language/mixin_super_test.dart ('k') | tests/language/mixin_superclass_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698