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

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

Issue 9980004: Look up the correct constructor for default classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: lib/compiler/implementation/lib/mock.dart
diff --git a/lib/compiler/implementation/lib/mock.dart b/lib/compiler/implementation/lib/mock.dart
index f61ef40932533ecc072cfd38b67577037258d7a1..018ac150a2f7b93ac716e2c7de75859b2a8149d5 100644
--- a/lib/compiler/implementation/lib/mock.dart
+++ b/lib/compiler/implementation/lib/mock.dart
@@ -32,7 +32,7 @@ interface ByteArray extends List default _InternalByteArray {
}
class _InternalByteArray {
- factory _InternalByteArray(int length) {
+ factory ByteArray(int length) {
throw new UnsupportedOperationException("new ByteArray($length)");
}
}

Powered by Google App Engine
This is Rietveld 408576698