Chromium Code Reviews| 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); |
| } |