Correcting compilation errors with partial commit of report code