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

Unified Diff: pkg/analysis_server/lib/src/domain_execution.dart

Issue 842533004: Return outline after parse (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « no previous file | pkg/analysis_server/lib/src/operation/operation_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/domain_execution.dart
diff --git a/pkg/analysis_server/lib/src/domain_execution.dart b/pkg/analysis_server/lib/src/domain_execution.dart
index 586b65971f945c4c9eb9c0f2bceba0fe4221f412..a8f7f328c2e97989c58a88e31c6203e076b60f23 100644
--- a/pkg/analysis_server/lib/src/domain_execution.dart
+++ b/pkg/analysis_server/lib/src/domain_execution.dart
@@ -142,7 +142,7 @@ class ExecutionDomainHandler implements RequestHandler {
void _fileAnalyzed(ChangeNotice notice) {
Source source = notice.source;
String filePath = source.fullName;
- if (!_isInAnalysisRoot(filePath)) {
+ if (!notice.resolved || !_isInAnalysisRoot(filePath)) {
return;
}
AnalysisContext context = server.getAnalysisContext(filePath);
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/operation/operation_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698