Revert "Fix merging two reference values"

This reverts commit 85e2392f
This commit is contained in:
Ilmir Usmanov
2020-06-09 01:28:34 +02:00
committed by Victor Petukhov
parent d9821412d0
commit 1cccceabb9
9 changed files with 4 additions and 76 deletions
@@ -1,34 +0,0 @@
// WITH_RUNTIME
// WITH_COROUTINES
// FULL_RUNTIME
// KJS_WITH_FULL_RUNTIME
class JarFile {
fun entries() = listOf<String>()
}
private fun scriptTemplatesDiscoverySequence(): Sequence<String> {
return sequence<String> {
for (dep in listOf<String>()) {
try {
val jar = JarFile()
try {
jar.entries().map { it }
val (loadedDefinitions, notFoundClasses) = listOf<String>() to listOf<String>()
listOf<String>().forEach {
yield(it)
}
} catch (e: Throwable) {
e.message
}
} catch (e: Exception) {
e.message
}
}
yield("OK")
}
}
fun box(): String {
return scriptTemplatesDiscoverySequence().first()
}