Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/mock_type.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.");
« no previous file with comments | « pkg/front_end/lib/src/fasta/analyzer/mock_element.dart ('k') | pkg/front_end/lib/src/fasta/analyzer/token_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698