K2: add more tests/fix augmented assignment case around KT-59748

This commit is contained in:
Mikhail Glukhikh
2023-07-25 16:13:49 +02:00
committed by Space Team
parent f20e2dec31
commit 5836a8aa0b
16 changed files with 182 additions and 37 deletions
@@ -95,7 +95,7 @@ sealed class KtFakeSourceElementKind(final override val shouldSkipErrorTypeRepor
// fake source refers to the return statement
object Return : ImplicitUnit()
// this source is used for 'a[i] = b' converted to { a[i] = b; Unit }
// this source is used for 'a[i] = b' or 'a[i] += b' converted to { a[i] = b; Unit }
// fake source refers to the assignment statement
object IndexedAssignmentCoercion : ImplicitUnit()
}