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

Unified Diff: tests/language/least_upper_bound_expansive_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/least_upper_bound_expansive_test.dart
diff --git a/tests/language/least_upper_bound_expansive_test.dart b/tests/language/least_upper_bound_expansive_test.dart
index 704b2a384faefb22cc9a892a87481f363ac20185..aaa50b9d336f28dff8cdf135d5ccbeffe84f7408 100644
--- a/tests/language/least_upper_bound_expansive_test.dart
+++ b/tests/language/least_upper_bound_expansive_test.dart
@@ -40,17 +40,17 @@ void testC1(bool z, C1<int> a, N<C1<String>> b) {
// Object is the most specific type in the intersection of the supertypes.
// Is least upper bound dynamic?
- (z ? a : b).z; /// 01: static type warning
+ (z ? a : b).z; //# 01: static type warning
// Is least upper bound N<...> ?
- (z ? a : b).n; /// 02: static type warning
+ (z ? a : b).n; //# 02: static type warning
// Is least upper bound C1<...> ?
- (z ? a : b).c1; /// 03: static type warning
+ (z ? a : b).c1; //# 03: static type warning
// Is least upper bound N<dynamic> ?
- (z ? a : b).n.z; /// 04: static type warning
+ (z ? a : b).n.z; //# 04: static type warning
// Is least upper bound N<N<...>> ?
- (z ? a : b).n.n; /// 05: static type warning
+ (z ? a : b).n.n; //# 05: static type warning
// Is least upper bound N<C1<...>> ?
- (z ? a : b).n.c1; /// 06: static type warning
+ (z ? a : b).n.c1; //# 06: static type warning
}
}
@@ -81,17 +81,17 @@ void testC2(bool z, C2<int> a, N<C2<String>> b) {
// Object is the most specific type in the intersection of the supertypes.
// Is least upper bound dynamic?
- (z ? a : b).z; /// 07: static type warning
+ (z ? a : b).z; //# 07: static type warning
// Is least upper bound N<...> ?
- (z ? a : b).n; /// 08: static type warning
+ (z ? a : b).n; //# 08: static type warning
// Is least upper bound C2<...> ?
- (z ? a : b).c2; /// 09: static type warning
+ (z ? a : b).c2; //# 09: static type warning
// Is least upper bound N<dynamic> ?
- (z ? a : b).n.z; /// 10: static type warning
+ (z ? a : b).n.z; //# 10: static type warning
// Is least upper bound N<N<...>> ?
- (z ? a : b).n.n; /// 11: static type warning
+ (z ? a : b).n.n; //# 11: static type warning
// Is least upper bound N<C2<...>> ?
- (z ? a : b).n.c2; /// 12: static type warning
+ (z ? a : b).n.c2; //# 12: static type warning
}
}

Powered by Google App Engine
This is Rietveld 408576698