FIR: Add test

This commit is contained in:
Mikhail Glukhikh
2021-11-18 11:51:14 +03:00
committed by teamcity
parent 2338281889
commit a4df0aaa7d
7 changed files with 183 additions and 0 deletions
@@ -0,0 +1,13 @@
class Some(classNames: () -> Collection<String>) {
internal val first by lazy {
classNames().toSet()
}
private val second by lazy {
val nonDeclaredNames = getNonDeclaredClassifierNames() ?: return@lazy null
val allNames = first + nonDeclaredNames
allNames
}
fun getNonDeclaredClassifierNames(): Set<String>? = null
}