pub fn spec_reasons(
old: &StepSpecRecord,
new: &StepSpecRecord,
old_task: Option<&TaskRecord>,
new_parts: Option<&ProgramParts>,
) -> Vec<Reason>Expand description
The reasons that compare old, the specification the task used last time at
the same position, with new, in the order of the spec’s list.
A changed program names its block and each changed, added, or removed module
when old_task is the task record of old’s program and new_parts holds the
parts of new’s program; otherwise it names no part.