| 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..9746dc010bc64b3c56460f90611167a0a83aa034 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 StateError(
|
| '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 StateError(
|
| 'Declarations do not have type arguments');
|
| }
|
|
|
|
|