[FIR] KT-58686: Warn about the use of global counters

This commit is contained in:
Nikolay Lunyak
2023-05-15 14:06:59 +03:00
committed by Space Team
parent c57d9097c2
commit 27e9732f98
@@ -1212,6 +1212,7 @@ class Fir2IrDeclarationStorage(
}
}
// TODO: KT-58686
private var lastTemporaryIndex: Int = 0
private fun nextTemporaryIndex(): Int = lastTemporaryIndex++