| Index: pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
|
| diff --git a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
|
| index 37eed486e7ae7b7923ffc038ec9b0d0ba1859286..cca755b1bbedc5be572c4bf87354f6087f6c0d23 100644
|
| --- a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
|
| +++ b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
|
| @@ -757,7 +757,7 @@ class Dart2JsInterfaceMirror extends Dart2JsObjectMirror
|
| bool get isDeclaration => true;
|
|
|
| List<TypeMirror> get typeArguments {
|
| - throw new UnsupportedOperationException(
|
| + throw new UnsupportedError(
|
| 'Declarations do not have type arguments');
|
| }
|
|
|
| @@ -840,7 +840,7 @@ class Dart2JsTypedefMirror extends Dart2JsTypeElementMirror
|
| bool get isTypedef => true;
|
|
|
| List<TypeMirror> get typeArguments {
|
| - throw new UnsupportedOperationException(
|
| + throw new UnsupportedError(
|
| 'Declarations do not have type arguments');
|
| }
|
|
|
|
|