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

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

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 10 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/math/rectangle.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 7a5a903198393c50ecf42c8734c4f32229166482..208fc16f9eb2708ae40f7d98aaa7834f0aefeeda 100644
--- a/test/dart_codegen/expect/typed_data/typed_data
+++ b/test/dart_codegen/expect/typed_data/typed_data
@@ -26,7 +26,11 @@ 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([1]).buffer)).getInt8(0) == 1 ? LITTLE_ENDIAN : BIG_ENDIAN;
+ static final Endianness HOST_ENDIAN = (new ByteData.view(new Uint16List.fromList(((__x0) => DDC$RT.cast(__x0, DDC$RT.type((List<dynamic> _) {
+}
+), DDC$RT.type((List<int> _) {
+}
+), "CastLiteral", """line 120, column 48 of dart:typed_data: """, __x0 is List<int>, false))([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/math/rectangle.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698