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

Unified Diff: test/dart_codegen/expect/typed_data/typed_data

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/core/uri.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/typed_data/typed_data
diff --git a/test/dart_codegen/expect/typed_data/typed_data b/test/dart_codegen/expect/typed_data/typed_data
index e7396f4f681017bca7eeda8cece790ae970a3bdc..34ef67c8e2c0f625a93f6755d3cafa0d86db1f71 100644
--- a/test/dart_codegen/expect/typed_data/typed_data
+++ b/test/dart_codegen/expect/typed_data/typed_data
@@ -26,11 +26,7 @@ import 'dart:collection';
class Endianness {const Endianness._(this._littleEndian);
static const Endianness BIG_ENDIAN = const Endianness._(false);
static const Endianness LITTLE_ENDIAN = const Endianness._(true);
- static final Endianness HOST_ENDIAN = (new ByteData.view(new Uint16List.fromList(((__x0) => DEVC$RT.cast(__x0, DEVC$RT.type((List<dynamic> _) {
-}
-), DEVC$RT.type((List<int> _) {
-}
-), "InferableLiteral", """line 120, column 48 of dart:typed_data: """, __x0 is List<int>, false))([1])).buffer)).getInt8(0) == 1 ? LITTLE_ENDIAN : BIG_ENDIAN;
+ static final Endianness HOST_ENDIAN = (new ByteData.view(new Uint16List.fromList(<int> [1]).buffer)).getInt8(0) == 1 ? LITTLE_ENDIAN : BIG_ENDIAN;
final bool _littleEndian;
}
abstract class ByteData implements TypedData {external factory ByteData(int length);
« no previous file with comments | « test/dart_codegen/expect/core/uri.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698