| Index: pkg/front_end/lib/src/fasta/analyzer/mock_type.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/analyzer/mock_type.dart b/pkg/front_end/lib/src/fasta/analyzer/mock_type.dart
|
| index bf55d3766c4dc80415b79297f2c218ded09b9ae3..9e07fa6e6b03d80b826fe551fcbe47805c437441 100644
|
| --- a/pkg/front_end/lib/src/fasta/analyzer/mock_type.dart
|
| +++ b/pkg/front_end/lib/src/fasta/analyzer/mock_type.dart
|
| @@ -10,8 +10,7 @@ import 'package:analyzer/dart/element/type.dart';
|
|
|
| import 'package:analyzer/src/generated/type_system.dart' show TypeSystem;
|
|
|
| -import '../errors.dart' show
|
| - internalError;
|
| +import '../errors.dart' show internalError;
|
|
|
| abstract class MockType extends DartType {
|
| String get displayName => internalError("not supported.");
|
| @@ -99,7 +98,6 @@ abstract class MockInterfaceType extends MockType implements InterfaceType {
|
| return internalError("not supported.");
|
| }
|
|
|
| -
|
| ConstructorElement lookUpConstructor(String name, LibraryElement library) {
|
| return internalError("not supported.");
|
| }
|
| @@ -109,7 +107,8 @@ abstract class MockInterfaceType extends MockType implements InterfaceType {
|
| }
|
|
|
| PropertyAccessorElement lookUpGetterInSuperclass(
|
| - String name, LibraryElement library) => internalError("not supported.");
|
| + String name, LibraryElement library) =>
|
| + internalError("not supported.");
|
|
|
| PropertyAccessorElement lookUpInheritedGetter(String name,
|
| {LibraryElement library, bool thisType: true}) {
|
| @@ -117,7 +116,8 @@ abstract class MockInterfaceType extends MockType implements InterfaceType {
|
| }
|
|
|
| ExecutableElement lookUpInheritedGetterOrMethod(String name,
|
| - {LibraryElement library}) => internalError("not supported.");
|
| + {LibraryElement library}) =>
|
| + internalError("not supported.");
|
|
|
| MethodElement lookUpInheritedMethod(String name,
|
| {LibraryElement library, bool thisType: true}) {
|
| @@ -142,7 +142,8 @@ abstract class MockInterfaceType extends MockType implements InterfaceType {
|
| }
|
|
|
| PropertyAccessorElement lookUpSetterInSuperclass(
|
| - String name, LibraryElement library) => internalError("not supported.");
|
| + String name, LibraryElement library) =>
|
| + internalError("not supported.");
|
|
|
| InterfaceType instantiate(List<DartType> argumentTypes) {
|
| return internalError("not supported.");
|
|
|