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

Unified Diff: lib/compiler/implementation/lib/mock.dart

Issue 10383023: Fix breakage in the JavaScript compilers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | lib/compiler/implementation/tools/mini_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/mock.dart
diff --git a/lib/compiler/implementation/lib/mock.dart b/lib/compiler/implementation/lib/mock.dart
index 018ac150a2f7b93ac716e2c7de75859b2a8149d5..98e4e772581c3739b01be6a1c0b7a017893b260a 100644
--- a/lib/compiler/implementation/lib/mock.dart
+++ b/lib/compiler/implementation/lib/mock.dart
@@ -27,13 +27,13 @@ class StaticResolutionException implements Exception {}
void assert(condition) {}
// TODO(ahe): Not sure ByteArray belongs in the core library.
-interface ByteArray extends List default _InternalByteArray {
- ByteArray(int length);
+interface Uint8List extends List default _InternalByteArray {
+ Uint8List(int length);
}
class _InternalByteArray {
- factory ByteArray(int length) {
- throw new UnsupportedOperationException("new ByteArray($length)");
+ factory Uint8List(int length) {
+ throw new UnsupportedOperationException("new Uint8List($length)");
}
}
« no previous file with comments | « no previous file | lib/compiler/implementation/tools/mini_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698