Don't return the old iface from addVersionInfo, it might not have
reasonable mi_globals.
mi_fixities = new_fixities })
| no_output_change && no_usage_change
mi_fixities = new_fixities })
| no_output_change && no_usage_change
+ = (new_iface, Nothing)
+ -- don't return the old iface because it may not have an
+ -- mi_globals field set to anything reasonable.
| otherwise -- Add updated version numbers
= (final_iface, Just pp_tc_diffs)
| otherwise -- Add updated version numbers
= (final_iface, Just pp_tc_diffs)