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

Unified Diff: tests/compiler/dart2js_extra/inference_super_set_call_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/compiler/dart2js_extra/inference_super_set_call_test.dart
diff --git a/tests/compiler/dart2js_extra/inference_super_set_call_test.dart b/tests/compiler/dart2js_extra/inference_super_set_call_test.dart
index 5a5602379271e8a018a8a84973131baa62221d5f..c0cfa155443610c54b7478fe318124eb5c2ed5d5 100644
--- a/tests/compiler/dart2js_extra/inference_super_set_call_test.dart
+++ b/tests/compiler/dart2js_extra/inference_super_set_call_test.dart
@@ -14,9 +14,9 @@ abstract class A {
}
class S extends A {
- var _x; // was bad: inferred as null, than [null | int]
+ var _x; // was bad: inferred as null, than [null | int]
var _y = ''; // was bad: inferred as String, rather than [String | int]
- var _z; // was ok : inferred as [null | int]
+ var _z; // was ok : inferred as [null | int]
set x(v) {
_x = super.x = v;
@@ -40,7 +40,7 @@ main() {
..x = 2
..y = 2
..z = 2;
- Expect.equals(false, s.isXNull); // was incorrectly optimized to 'true'
+ Expect.equals(false, s.isXNull); // was incorrectly optimized to 'true'
Expect.equals(false, s._y is String); // was incorrectly optimized to 'true'
- Expect.equals(false, s.isZNull); // prints false
+ Expect.equals(false, s.isZNull); // prints false
}

Powered by Google App Engine
This is Rietveld 408576698