| Index: sdk/lib/_internal/lib/js_mirrors.dart
|
| diff --git a/sdk/lib/_internal/lib/js_mirrors.dart b/sdk/lib/_internal/lib/js_mirrors.dart
|
| index f6f521d524500d01411df71a547ba077ada94bd1..610af50a5b7ee7c5228df234cf1a78f39488c577 100644
|
| --- a/sdk/lib/_internal/lib/js_mirrors.dart
|
| +++ b/sdk/lib/_internal/lib/js_mirrors.dart
|
| @@ -229,8 +229,8 @@ class JsTypeMirror extends JsDeclarationMirror implements TypeMirror {
|
| bool get hasReflectedType => false;
|
| Type get reflectedType => throw new UnsupportedError("This type does not support reflectedTypees");
|
|
|
| - List<TypeVariableMirror> get typeVariables => throw new UnimplementedError();
|
| - List<TypeMirror> get typeArguments => throw new UnimplementedError();
|
| + List<TypeVariableMirror> get typeVariables => const <TypeVariableMirror>[];
|
| + List<TypeMirror> get typeArguments => const <TypeMirror>[];
|
|
|
| bool get isOriginalDeclaration => true;
|
| TypeMirror get originalDeclaration => this;
|
| @@ -689,7 +689,7 @@ class JsMixinApplication extends JsTypeMirror with JsObjectMirror
|
| throw new UnimplementedError();
|
| }
|
|
|
| - List<TypeMirror> get typeArguments => new List();
|
| + List<TypeMirror> get typeArguments => const <TypeMirror>[];
|
| }
|
|
|
| abstract class JsObjectMirror implements ObjectMirror {
|
| @@ -1422,7 +1422,7 @@ class JsClassMirror extends JsTypeMirror with JsObjectMirror
|
| return _cachedTypeVariables = new UnmodifiableListView(result);
|
| }
|
|
|
| - List<TypeMirror> get typeArguments => new List();
|
| + List<TypeMirror> get typeArguments => const <TypeMirror>[];
|
| }
|
|
|
| class JsVariableMirror extends JsDeclarationMirror implements VariableMirror {
|
|
|