Do not insert additional new lines in REPL

This commit is contained in:
Natalia Selezneva
2018-10-26 09:23:27 +03:00
parent 468404c6c3
commit e48fbe4aa3
5 changed files with 7 additions and 13 deletions
-2
View File
@@ -1,6 +1,4 @@
foo() // ERROR: error: unresolved reference: foo...
/** unresolved.kts:1 error: unresolved reference: foo
foo()
^ */
-7
View File
@@ -6,20 +6,13 @@ fun goo(a: String) { // ERROR: error: unresolved reference: goo...
super.goo(a)
}
/** unresolvedMultiline.kts:1 error: unresolved reference: foo
foo.forEach {
^
error: cannot choose among the following candidates without completing type inference:
@HidesMembers public inline fun <T> Iterable<???>.forEach(action: (???) -> Unit): Unit defined in kotlin.collections
@HidesMembers public inline fun <K, V> Map<out ???, ???>.forEach(action: (Map.Entry<???, ???>) -> Unit): Unit defined in kotlin.collections
foo.forEach {
^ */
/** unresolvedMultiline.kts:5 error: unresolved reference: goo
super.goo(a)
^ */