[FIR] FirVariable: add replace method for delegate
It is required to properly implement lazy expression calculation ^KT-59687
This commit is contained in:
committed by
Space Team
parent
4f859a634e
commit
f8b2b4ac21
@@ -142,6 +142,7 @@ class FirJavaField @FirImplementationDetail constructor(
|
||||
return this
|
||||
}
|
||||
|
||||
override fun replaceDelegate(newDelegate: FirExpression?) {}
|
||||
override val delegate: FirExpression?
|
||||
get() = null
|
||||
|
||||
|
||||
+2
@@ -178,6 +178,8 @@ class FirJavaValueParameter @FirImplementationDetail constructor(
|
||||
override fun replaceInitializer(newInitializer: FirExpression?) {
|
||||
}
|
||||
|
||||
override fun replaceDelegate(newDelegate: FirExpression?) {}
|
||||
|
||||
override fun replaceControlFlowGraphReference(newControlFlowGraphReference: FirControlFlowGraphReference?) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user