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) { |