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

Unified Diff: test/dart_codegen/expect/convert/latin1.dart

Issue 1038213003: Downward inference (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « test/dart_codegen/expect/convert/json.dart ('k') | test/dart_codegen/expect/convert/string_conversion.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/latin1.dart
diff --git a/test/dart_codegen/expect/convert/latin1.dart b/test/dart_codegen/expect/convert/latin1.dart
index b69d7d6c2c9121c9f02ffe7e1e8d6c9344fa1820..3d6f2c3fee6aaff38336f44e4c5df05dd8ae4739 100644
--- a/test/dart_codegen/expect/convert/latin1.dart
+++ b/test/dart_codegen/expect/convert/latin1.dart
@@ -72,11 +72,7 @@ RangeError.checkValidRange(start, end, source.length);
int char = source[i];
if (char > _LATIN1_MASK || char < 0) {
if (i > start) _addSliceToSink(source, start, i, false);
- _addSliceToSink(((__x27) => DEVC$RT.cast(__x27, DEVC$RT.type((List<dynamic> _) {
-}
-), DEVC$RT.type((List<int> _) {
-}
-), "InferableLiteral", """line 161, column 25 of dart:convert/latin1.dart: """, __x27 is List<int>, false))(const [0xFFFD]), 0, 1, false);
+ _addSliceToSink(const <int> [0xFFFD], 0, 1, false);
start = i + 1;
}
}
« no previous file with comments | « test/dart_codegen/expect/convert/json.dart ('k') | test/dart_codegen/expect/convert/string_conversion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698