Melt infiltration and magma evolution