FIR: don't enhance synthetic property if not needed
This commit is contained in:
committed by
teamcity
parent
6b1da9eb70
commit
a05244eca1
+1
@@ -152,6 +152,7 @@ class FirSignatureEnhancement(
|
||||
} else {
|
||||
setterDelegate?.symbol
|
||||
}
|
||||
if (getterDelegate !is FirJavaMethod && setterDelegate !is FirJavaMethod) return original
|
||||
return buildSyntheticProperty {
|
||||
moduleData = this@FirSignatureEnhancement.moduleData
|
||||
this.name = name
|
||||
|
||||
Reference in New Issue
Block a user