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

Unified Diff: pkg/analyzer/test/generated/analysis_context_factory.dart

Issue 2746333008: Run dartfmt on dart2js codebase. (Closed)
Patch Set: Format all analyzer packages Created 3 years, 9 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
« no previous file with comments | « pkg/analyzer/lib/src/task/inputs.dart ('k') | pkg/analyzer/test/src/dart/analysis/driver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/analysis_context_factory.dart
diff --git a/pkg/analyzer/test/generated/analysis_context_factory.dart b/pkg/analyzer/test/generated/analysis_context_factory.dart
index 236a5dae9bc686389b00bef373be375397041461..77dd48ce9754d704e64668cd32a26652cb165f15 100644
--- a/pkg/analyzer/test/generated/analysis_context_factory.dart
+++ b/pkg/analyzer/test/generated/analysis_context_factory.dart
@@ -195,7 +195,7 @@ class AnalysisContextFactory {
ElementFactory.classElement2("Future", ["T"]);
// FutureOr<T>
ClassElementImpl futureOrElement =
- ElementFactory.classElement2("FutureOr", ["T"]);
+ ElementFactory.classElement2("FutureOr", ["T"]);
futureElement.enclosingElement = asyncUnit;
// factory Future.value([value])
ConstructorElementImpl futureConstructor =
@@ -212,8 +212,8 @@ class AnalysisContextFactory {
futureThenR = ElementFactory.typeParameterWithType('R');
onValueReturnType = futureOrElement.type.instantiate([futureThenR.type]);
}
- FunctionElementImpl thenOnValue = ElementFactory.functionElement3('onValue',
- onValueReturnType, [futureElement.typeParameters[0]], null);
+ FunctionElementImpl thenOnValue = ElementFactory.functionElement3(
+ 'onValue', onValueReturnType, [futureElement.typeParameters[0]], null);
thenOnValue.isSynthetic = true;
DartType futureRType = futureElement.type.instantiate([futureThenR.type]);
« no previous file with comments | « pkg/analyzer/lib/src/task/inputs.dart ('k') | pkg/analyzer/test/src/dart/analysis/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698