| Index: runtime/lib/mirrors_impl.dart
|
| diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
|
| index 72d96499c7f5193e7963982b16b1765b6aa84bcd..ea63f9079e4d381b0ac2b2965447296bc1a3cce4 100644
|
| --- a/runtime/lib/mirrors_impl.dart
|
| +++ b/runtime/lib/mirrors_impl.dart
|
| @@ -369,6 +369,15 @@ class _LocalClassMirrorImpl extends _LocalObjectMirrorImpl
|
| final Type _reflectedType;
|
| final bool _isGeneric;
|
|
|
| + bool get hasReflectedType => _reflectedType != null;
|
| + Type get reflectedType {
|
| + if (!hasReflectedType) {
|
| + throw new UnsupportedError(
|
| + "Declarations of generics have no reflected type");
|
| + }
|
| + return _reflectedType;
|
| + }
|
| +
|
| Symbol _simpleName;
|
| Symbol get simpleName {
|
| // dynamic, void and the function types have their names set eagerly in the
|
| @@ -417,7 +426,7 @@ class _LocalClassMirrorImpl extends _LocalObjectMirrorImpl
|
| // Object has no superclass.
|
| return null;
|
| }
|
| - _superclass = reflectClass(supertype);
|
| + _superclass = _Mirrors._reflectType(supertype);
|
| }
|
| return _superclass;
|
| }
|
|
|