FIR: Make LHS of FirVariableAssignment a FirExpression
This way references can even be resolved for erroneous assignments (e.g. function call, if expression, ... on LHS) ^KT-54648 Fixed
This commit is contained in:
committed by
Space Team
parent
e9b8d6db80
commit
ace47c06a5
@@ -240,6 +240,9 @@ sealed class KtFakeSourceElementKind : KtSourceElementKind() {
|
||||
|
||||
// for all implicit receivers (now used for qualifiers only)
|
||||
object ImplicitReceiver : KtFakeSourceElementKind()
|
||||
|
||||
// for when on the LHS of an assignment an error expression appears
|
||||
object AssignmentLValueError : KtFakeSourceElementKind()
|
||||
}
|
||||
|
||||
sealed class AbstractKtSourceElement {
|
||||
|
||||
Reference in New Issue
Block a user