markNeedsBuild should handle case where the element is in the dirty list (#7448)
Previously we asserted that the element was not in the dirty list, but there are scenarios where the element can be in the dirty list already. This patch makes markNeedsBuild handle those cases by simply resorting the dirty list. Fixes #6119
Showing
Please register or sign in to comment