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

Unified Diff: tests/language/mixin_illegal_super_use_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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_illegal_super_use_test.dart
diff --git a/tests/language/mixin_illegal_super_use_test.dart b/tests/language/mixin_illegal_super_use_test.dart
index 7f0d64a39de0173b8d9520ae6c9decd24064d1d4..bbe6f4280f7543581952599df1f866a7415ff422 100644
--- a/tests/language/mixin_illegal_super_use_test.dart
+++ b/tests/language/mixin_illegal_super_use_test.dart
@@ -9,21 +9,21 @@ 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(); //# 01: compile-time error
+ super.foo(); //# 02: compile-time error
+ super.bar = 100; //# 03: compile-time error
void inner() {
- super.toString(); /// 04: compile-time error
- super.foo(); /// 05: compile-time error
- super.bar = 100; /// 06: compile-time error
+ super.toString(); //# 04: compile-time error
+ super.foo(); //# 05: compile-time error
+ super.bar = 100; //# 06: compile-time error
}
inner();
(() {
- super.toString(); /// 07: compile-time error
- super.foo(); /// 08: compile-time error
- super.bar = 100; /// 09: compile-time error
+ super.toString(); //# 07: compile-time error
+ super.foo(); //# 08: compile-time error
+ super.bar = 100; //# 09: compile-time error
})();
return 42;
@@ -32,7 +32,7 @@ class P0 {
class P1 {
bar() {
- super.toString(); /// 10: compile-time error
+ super.toString(); //# 10: compile-time error
return 87;
}
@@ -52,7 +52,7 @@ class P1 {
class P2 {
baz() {
- super.toString(); /// 11: compile-time error
+ super.toString(); //# 11: compile-time error
return 99;
}
}

Powered by Google App Engine
This is Rietveld 408576698