[PATCH] mechanically split compatible_assignment_types()