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

Unified Diff: lib/src/analysis_context.dart

Issue 1266483003: format with dart_style 0.2.0-rc.3 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « lib/runtime/messages_widget.dart ('k') | lib/src/codegen/ast_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/analysis_context.dart
diff --git a/lib/src/analysis_context.dart b/lib/src/analysis_context.dart
index 3a1043abf11760a9e6b4f2cac8d24c857a9ea5e8..06ad543df3bb59f7021faa8f46e2b3a45b4f9b37 100644
--- a/lib/src/analysis_context.dart
+++ b/lib/src/analysis_context.dart
@@ -38,8 +38,8 @@ AnalysisContext createAnalysisContext(StrongModeOptions options) {
// TODO(jmesserly): is there a cleaner way to plug this in?
void enableDevCompilerInference(
AnalysisContextImpl context, StrongModeOptions options) {
- context.libraryResolverFactory =
- (c) => new LibraryResolverWithInference(c, options);
+ context.libraryResolverFactory = (c) =>
+ new LibraryResolverWithInference(c, options);
}
/// Creates a SourceFactory configured by the [options].
@@ -79,6 +79,6 @@ DartUriResolver createMockSdkResolver(Map<String, String> mockSources) =>
new MockDartSdk(mockSources, reportMissing: true).resolver;
/// Creates a [DartUriResolver] that uses the SDK at the given [sdkPath].
-DartUriResolver createSdkPathResolver(String sdkPath) => new DartUriResolver(
- new DirectoryBasedDartSdk(
+DartUriResolver createSdkPathResolver(String sdkPath) =>
+ new DartUriResolver(new DirectoryBasedDartSdk(
new JavaFile(sdkPath), /*useDart2jsPaths:*/ true));
« no previous file with comments | « lib/runtime/messages_widget.dart ('k') | lib/src/codegen/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698