A second root module in a failed cycle can call Evaluate after the cycle root has already cached an evaluation error. In that case InnerModuleEvaluation returns the cached error immediately and Evaluate must reject the new top-level capability with that same error. Remove the extra assertion that the module evaluation error is empty in the abrupt completion path. Add text coverage for evaluating both roots of a module cycle whose dependency throws during evaluation.
1 line
21 B
Text
1 line
21 B
Text
PASS! (Didn't crash)
|