[FIR2IR] Propagate NOT_IN statement origin when converting to IR

^KT-65636 Fixed
This commit is contained in:
Brian Norman
2024-02-14 11:18:39 -06:00
committed by Space Team
parent 6d634ac87f
commit 78bb0be7aa
4 changed files with 6 additions and 6 deletions
@@ -535,6 +535,9 @@ internal fun FirReference.statementOrigin(): IrStatementOrigin? = when (this) {
source?.kind == KtFakeSourceElementKind.DesugaredForLoop && symbol.callableId.isIterator() ->
IrStatementOrigin.FOR_LOOP_ITERATOR
source?.kind == KtFakeSourceElementKind.DesugaredInvertedContains ->
IrStatementOrigin.NOT_IN
source?.kind is KtFakeSourceElementKind.DesugaredIncrementOrDecrement ->
incOrDeclSourceKindToIrStatementOrigin[source?.kind]