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

Unified Diff: tests/language_strong/first_class_types_constants_test.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/first_class_types_constants_test.dart
diff --git a/tests/language_strong/first_class_types_constants_test.dart b/tests/language_strong/first_class_types_constants_test.dart
index 5dfa13620dd1fbda7770a33fba79d8cb1b6a3be0..f0447f76ab46c6b9c1568ac3f341c0614d7a0633 100644
--- a/tests/language_strong/first_class_types_constants_test.dart
+++ b/tests/language_strong/first_class_types_constants_test.dart
@@ -12,9 +12,9 @@ class C<T> {
typedef int Fun(bool, String);
const c0 = C;
-const c1 = const C(C);
+const c1 = const C<Type>(C);
const c2 = Fun;
-const c3 = const C(Fun);
+const c3 = const C<Type>(Fun);
main() {
Expect.identical(C, C);
« no previous file with comments | « tests/language_strong/deferred_static_seperate_lib1.dart ('k') | tests/language_strong/generic_field_mixin4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698