[FIR] Consider default values from expect function during serialization
It's not possible to unmute some tests for K2 because it causes testData structure changing If change testData, NATIVE doesn't work even with `IGNORE_BACKEND`
This commit is contained in:
committed by
Space Team
parent
d87619e06e
commit
f1fef62f76
@@ -116,3 +116,7 @@ inline val FirBasedSymbol<*>.isJavaOrEnhancement: Boolean
|
||||
get() = origin.isJavaOrEnhancement ||
|
||||
(fir as? FirCallableDeclaration)?.importedFromObjectOrStaticData?.original?.isJavaOrEnhancement == true
|
||||
|
||||
fun FirFunctionSymbol<*>?.containsDefaultValue(index: Int): Boolean {
|
||||
if (this == null) return false
|
||||
return this.fir.valueParameters[index].defaultValue != null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user