Index: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
index 19e5cc09234971356025c318de9f55dbe2401d0b..34bccc2f88f7180ba0a4f063afc84fbee86a11bb 100644 |
--- a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
@@ -4,6 +4,7 @@ |
library mirrors; |
+import 'dart:async'; |
import 'dart:io'; |
import 'dart:uri'; |
@@ -194,9 +195,9 @@ abstract class InstanceMirror implements ObjectMirror { |
/** |
* Specialized [InstanceMirror] used for reflection on constant lists. |
*/ |
-abstract class ListInstanceMirror |
- implements InstanceMirror, Sequence<Future<InstanceMirror>> { |
- |
+abstract class ListInstanceMirror implements InstanceMirror { |
+ Future<InstanceMirror> operator[](int index); |
+ int get length; |
} |
/** |
@@ -717,4 +718,4 @@ class DartdocComment { |
final String text; |
const DartdocComment(this.text); |
-} |
+} |