FIR: Add test
This commit is contained in:
committed by
teamcity
parent
2338281889
commit
a4df0aaa7d
+13
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user