ansman
04/05/2024, 7:35 PM.defaultValue directly doesn't work in all cases because the new default value needs to be "resolved" (for example, if the expression is a FirStringConcatenationCall then its argumentList must be a FirResolvedArgumentList which the original expression doesn't have)ansman
04/05/2024, 7:35 PMansman
04/05/2024, 7:38 PMdamian
04/05/2024, 8:36 PMfun foo(x: Int = 0, y: Int = x + 1, z: Int = y + 1)ansman
04/05/2024, 8:37 PM