// REPL_MODE: false foo.forEach { // ERROR: Unresolved reference: foo; Overload resolution ambiguity: ... 1 + 1 } fun goo(a: String) { // ERROR: Unresolved reference: goo super.goo(a) } /** unresolvedMultiline.kts:3 Unresolved reference: foo */ /** unresolvedMultiline.kts:3 Overload resolution ambiguity: public inline fun Iterable.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections public inline fun Map.forEach(action: (Map.Entry) -> Unit): Unit defined in kotlin.collections */ /** unresolvedMultiline.kts:7 Unresolved reference: goo */