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

Unified Diff: tests/language_strong/constructor_redirect2_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments 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_strong/constructor_redirect2_test.dart
diff --git a/tests/language_strong/constructor_redirect2_test.dart b/tests/language_strong/constructor_redirect2_test.dart
index e0ceb8d144b34a272a1944e8eeee676b08ea9fda..b094585094b28fb483461bdf0adcfa77632daba7 100644
--- a/tests/language_strong/constructor_redirect2_test.dart
+++ b/tests/language_strong/constructor_redirect2_test.dart
@@ -8,22 +8,22 @@ class A {
A(this.x) {}
// Redirecting constructor must not have a function body.
- A.illegalBody(x) : this(3) {} /// 01: compile-time error
+ A.illegalBody(x) : this(3) {} // /// 01: compile-time error
// Redirecting constructor must not initialize any fields.
- A.illegalInit() : this(3), x = 5; /// 02: compile-time error
+ A.illegalInit() : this(3), x = 5; // /// 02: compile-time error
// Redirecting constructor must not have initializing formal parameters.
- A.illegalFormal(this.x) : this(3); /// 03: compile-time error
+ A.illegalFormal(this.x) : this(3); // /// 03: compile-time error
// Redirection constructors must not call super constructor.
- A.illegalSuper() : this(3), super(3); /// 04: compile-time error
+ A.illegalSuper() : this(3), super(3); // /// 04: compile-time error
}
main() {
new A(3);
- new A.illegalBody(10); /// 01: continued
- new A.illegalInit(10); /// 02: continued
- new A.illegalFormal(10); /// 03: continued
- new A.illegalSuper(10); /// 04: continued
+ new A.illegalBody(10); // /// 01: continued
+ new A.illegalInit(10); // /// 02: continued
+ new A.illegalFormal(10); // /// 03: continued
+ new A.illegalSuper(10); // /// 04: continued
}

Powered by Google App Engine
This is Rietveld 408576698