| Index: sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
|
| diff --git a/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart b/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
|
| index 7fb8b3efd6e8561e40abe77291d6abbb60fc29f5..af3226e9391822a9d3eb0892585874171ebcd583 100644
|
| --- a/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
|
| +++ b/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart
|
| @@ -591,8 +591,13 @@ TypeMirror reflectClassByName(Symbol symbol, String mangledName) {
|
| disableTreeShaking();
|
| int typeArgIndex = mangledName.indexOf("<");
|
| if (typeArgIndex != -1) {
|
| - mirror = new JsTypeBoundClassMirror(reflectClassByMangledName(
|
| - mangledName.substring(0, typeArgIndex)).originalDeclaration,
|
| + TypeMirror originalDeclaration =
|
| + reflectClassByMangledName(mangledName.substring(0, typeArgIndex))
|
| + .originalDeclaration;
|
| + if (originalDeclaration is JsTypedefMirror) {
|
| + throw new UnimplementedError();
|
| + }
|
| + mirror = new JsTypeBoundClassMirror(originalDeclaration,
|
| // Remove the angle brackets enclosing the type arguments.
|
| mangledName.substring(typeArgIndex + 1, mangledName.length - 1));
|
| JsCache.update(classMirrors, mangledName, mirror);
|
|
|