Configuration: move scratch tests to separate module

This commit is contained in:
Natalia Selezneva
2019-10-03 09:39:35 +03:00
parent f2f97a9991
commit 17dcdb59de
103 changed files with 174 additions and 78 deletions
@@ -0,0 +1,20 @@
// REPL_MODE: true
foo.forEach { // ERROR: error: unresolved reference: foo...
1 + 1
}
fun goo(a: String) { // ERROR: error: unresolved reference: goo...
super.goo(a)
}
/** unresolvedMultiline.kts:3 error: unresolved reference: foo
foo.forEach {
^
error: cannot choose among the following candidates without completing type inference:
public inline fun <T> Iterable<???>.forEach(action: (???) -> Unit): Unit defined in kotlin.collections
public inline fun <K, V> Map<out ???, ???>.forEach(action: (Map.Entry<???, ???>) -> Unit): Unit defined in kotlin.collections
foo.forEach {
^ */
/** unresolvedMultiline.kts:7 error: unresolved reference: goo
super.goo(a)
^ */