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

Unified Diff: pkg/analyzer/lib/src/context/context.dart

Issue 1405963005: Create `loadLibrary` function element eagerly. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/context/context.dart
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
index dd2893f8fedc004f8b5f916bade9924fdcaa814a..dcf988bb54e73ab9e59ce11e91bf29eeadad346d 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -631,6 +631,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
@override
LibraryElement computeLibraryElement(Source source) {
+ assert(!driver.isTaskRunning);
Brian Wilkerson 2015/10/19 20:15:19 Do we want to add this, or was this left over from
Paul Berry 2015/10/19 20:31:29 This was added on purpose--in the absence of the b
//_computeResult(source, HtmlEntry.ELEMENT);
return computeResult(source, LIBRARY_ELEMENT);
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698