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

Unified Diff: tests/lib_strong/convert/json_test.dart

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: fix 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/lib_strong/convert/json_test.dart
diff --git a/tests/lib_strong/convert/json_test.dart b/tests/lib_strong/convert/json_test.dart
index ef7b077d4c8c622a5f59044de9fd3b9c8073236f..1f2f4650c8b2642059d2b909da9c58c099d5ee00 100644
--- a/tests/lib_strong/convert/json_test.dart
+++ b/tests/lib_strong/convert/json_test.dart
@@ -38,7 +38,7 @@ void testJson(json, expected) {
for (var reviver in [null, (k, v) => v]) {
for (var split in [0, 1, 2, 3]) {
var name = (reviver == null) ? "" : "reviver:";
- var sink = new ChunkedConversionSink.withCallback((values) {
+ var sink = new ChunkedConversionSink<dynamic>.withCallback((values) {
var value = values[0];
compare(expected, value, "$name$value");
});

Powered by Google App Engine
This is Rietveld 408576698