FIR: add declaration attributes checking to rawFirBuilder/lightTree tests

This commit is contained in:
Ilya Kirillov
2021-03-09 19:43:12 +01:00
parent 3bcc2fe476
commit dcf64779a9
43 changed files with 227 additions and 187 deletions
@@ -70,6 +70,10 @@ abstract class TypeRegistry<K : Any, V : Any> {
return idPerType.computeIfAbsent(kClass) { idCounter.getAndIncrement() }
}
fun allValuesThreadUnsafeForRendering(): Map<KClass<out K>, Int> {
return idPerType
}
protected val indices: Collection<Int>
get() = idPerType.values
}