| Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| index 721c9adefdf187e63849b41d4086acb974fac1a4..a5ee505b4d90cce3f327f8730186ff0567fd1640 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| @@ -1171,11 +1171,13 @@ class Dart2JsInterfaceTypeMirror extends Dart2JsTypeElementMirror
|
| List<TypeMirror> get typeArguments {
|
| if (_typeArguments == null) {
|
| _typeArguments = <TypeMirror>[];
|
| - Link<DartType> type = _interfaceType.typeArguments;
|
| - while (type != null && type.head != null) {
|
| - _typeArguments.add(_convertTypeToTypeMirror(mirrors, type.head,
|
| - mirrors.compiler.types.dynamicType));
|
| - type = type.tail;
|
| + if (!_interfaceType.isRaw) {
|
| + Link<DartType> type = _interfaceType.typeArguments;
|
| + while (type != null && type.head != null) {
|
| + _typeArguments.add(_convertTypeToTypeMirror(mirrors, type.head,
|
| + mirrors.compiler.types.dynamicType));
|
| + type = type.tail;
|
| + }
|
| }
|
| }
|
| return _typeArguments;
|
|
|