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

Unified Diff: tests/language_strong/deferred_static_seperate_lib1.dart

Issue 2779843004: Fix top-level inference errors for most of the newly failing 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/deferred_static_seperate_lib1.dart
diff --git a/tests/language_strong/deferred_static_seperate_lib1.dart b/tests/language_strong/deferred_static_seperate_lib1.dart
index 92965237f97b07e405526d14bf6f9c9d4582d3b8..feb293ee0eabc68448cbe975727cc785d1c34e2f 100644
--- a/tests/language_strong/deferred_static_seperate_lib1.dart
+++ b/tests/language_strong/deferred_static_seperate_lib1.dart
@@ -28,8 +28,8 @@ class C1 {
}
class C2 {
- static var foo = new Map.from({1: 2});
- var bar = new Map.from({1: 2});
+ static var foo = new Map<int, int>.from({1: 2});
+ var bar = new Map<int, int>.from({1: 2});
}
class C3 {
@@ -38,8 +38,8 @@ class C3 {
}
class C4 {
- static final foo = new Map.from({x: x});
- final bar = new Map.from({x: x});
+ static final foo = new Map<ConstClass, ConstClass>.from({x: x});
+ final bar = new Map<ConstClass, ConstClass>.from({x: x});
}
class C5 {
« no previous file with comments | « tests/language_strong/deferred_not_loaded_check_lib.dart ('k') | tests/language_strong/first_class_types_constants_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698