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

Unified Diff: tests/language_strong/type_promotion_logical_and_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_strong/type_promotion_logical_and_test.dart
diff --git a/tests/language_strong/type_promotion_logical_and_test.dart b/tests/language_strong/type_promotion_logical_and_test.dart
index 1ee6296060742c2ec1282cb3af01bd2bc91a4a90..eaf29150218ca9d696fa6be827e6f8d98dbfd046 100644
--- a/tests/language_strong/type_promotion_logical_and_test.dart
+++ b/tests/language_strong/type_promotion_logical_and_test.dart
@@ -27,14 +27,14 @@ void main() {
A a = new E();
var b;
if (a is D && ((a = new D()) != null)) {
- b = a.d; /// 01: static type warning
+ b = a.d; //# 01: static type warning
}
if (a is D && (b = a.d)) {
- b = a.d; /// 02: static type warning
+ b = a.d; //# 02: static type warning
a = null;
}
if ((((a) is D) && (b = (a).d))) {
- b = a.d; /// 03: static type warning
+ b = a.d; //# 03: static type warning
a = null;
}
if (f(a = null) && a is D) {

Powered by Google App Engine
This is Rietveld 408576698