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

Unified Diff: tests/language/const_constructor_super_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/const_constructor_super_test.dart
diff --git a/tests/language/const_constructor_super_test.dart b/tests/language/const_constructor_super_test.dart
index 241a7cea810eeff2b872dbb06660483b476a4fec..3a6d4eb4c9eb5432ec4cc27f0624c282121970cc 100644
--- a/tests/language/const_constructor_super_test.dart
+++ b/tests/language/const_constructor_super_test.dart
@@ -15,17 +15,17 @@ class B extends A {
B(x) : b = x + 1, super(x);
// Const constructor cannot call non-const super constructor.
- const B.zerofive() : b = 0, super(5); /// 01: compile-time error
+ const B.zerofive() : b = 0, super(5); //# 01: compile-time error
}
class C extends A {
C() : super(0);
// Implicit call to non-const constructor A(x).
- const C.named(x); /// 02: compile-time error
+ const C.named(x); //# 02: compile-time error
}
main() {
- var b = new B.zerofive(); /// 01: continued
+ var b = new B.zerofive(); //# 01: continued
var b1 = new B(0);
- var c = new C.named(""); /// 02: continued
+ var c = new C.named(""); //# 02: continued
}

Powered by Google App Engine
This is Rietveld 408576698