Fix analyzer warning

This commit is contained in:
Adam Barth 2015-09-21 21:35:36 -07:00
parent ba41fd3538
commit 174ee11d39

View File

@ -368,7 +368,7 @@ class _BuildScheduler {
sortedDirtyElements[index]._rebuildIfNeeded(); sortedDirtyElements[index]._rebuildIfNeeded();
if (!_dirtyElements.isEmpty) { if (!_dirtyElements.isEmpty) {
assert(_dirtyElements.every((Element element) => !sortedDirtyElements.contains(element))); assert(_dirtyElements.every((Element element) => !sortedDirtyElements.contains(element)));
_absorbDirtyElement(sortedDirtyElements); _absorbDirtyElements(sortedDirtyElements);
index = 0; index = 0;
} else { } else {
index += 1; index += 1;