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

Unified Diff: lib/src/compiler.dart

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Update pubspec 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 | « lib/src/analysis_context.dart ('k') | lib/src/dart_sdk.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler.dart
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
index bdf56716942f894862021511dd82e744dd4b77ab..56e26e6b8c42ff311b972e52c9eac4768370224b 100644
--- a/lib/src/compiler.dart
+++ b/lib/src/compiler.dart
@@ -151,7 +151,8 @@ class BatchCompiler extends AbstractCompiler {
while (_pendingLibraries.isNotEmpty) {
var unit = _pendingLibraries.removeLast();
var library = unit.library.element.enclosingElement;
- assert(_compilationRecord[library] == true);
+ assert(_compilationRecord[library] == true ||
+ options.codegenOptions.forceCompile);
// Process dependences one more time to propagate failure from cycles
for (var import in library.imports) {
« no previous file with comments | « lib/src/analysis_context.dart ('k') | lib/src/dart_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698