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

Unified Diff: lib/src/server/server.dart

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Fix error severities Created 4 years, 12 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: lib/src/server/server.dart
diff --git a/lib/src/server/server.dart b/lib/src/server/server.dart
index afc7982b56ad67a43abb86f6c9102e02ce7bc423..df162c7901df507c079cd6f03b158f5b7e5eb87b 100644
--- a/lib/src/server/server.dart
+++ b/lib/src/server/server.dart
@@ -47,12 +47,12 @@ class ServerCompiler extends AbstractCompiler {
{AnalysisErrorListener reporter}) {
var srcOpts = options.sourceOptions;
var inputFile = options.inputs[0];
- var inputUri = inputFile.startsWith('dart:') ||
- inputFile.startsWith('package:')
- ? Uri.parse(inputFile)
- : new Uri.file(path.absolute(srcOpts.useImplicitHtml
- ? SourceResolverOptions.implicitHtmlFile
- : inputFile));
+ var inputUri =
+ inputFile.startsWith('dart:') || inputFile.startsWith('package:')
+ ? Uri.parse(inputFile)
+ : new Uri.file(path.absolute(srcOpts.useImplicitHtml
+ ? SourceResolverOptions.implicitHtmlFile
+ : inputFile));
var graph = new SourceGraph(context, reporter, options);
var entryNode = graph.nodeFromUri(inputUri);
« no previous file with comments | « lib/src/server/dependency_graph.dart ('k') | lib/src/utils.dart » ('j') | lib/src/utils.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698