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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/library_analyzer.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/codegen/html.dart ('k') | pkg/analyzer/lib/src/dart/error/hint_codes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart
index 71f1f2093d0322979dfa9a94e84f8052e05aeab0..aa9d56ba7426d3f152e0ed86c878f507289804cd 100644
--- a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart
@@ -474,7 +474,8 @@ class LibraryAnalyzer {
}
}
- if (hasPartDirective && libraryNameNode == null &&
+ if (hasPartDirective &&
+ libraryNameNode == null &&
!_context.analysisOptions.enableUriInPartOf) {
libraryErrorReporter.reportErrorForOffset(
ResolverErrorCode.MISSING_LIBRARY_DIRECTIVE_WITH_PART, 0, 0);
« no previous file with comments | « pkg/analyzer/lib/src/codegen/html.dart ('k') | pkg/analyzer/lib/src/dart/error/hint_codes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698