Scratch tests: add check for toolwindow output

This commit is contained in:
Natalia Selezneva
2018-05-16 13:18:22 +03:00
parent bce0a77a94
commit a505a948d2
7 changed files with 65 additions and 10 deletions
+21 -3
View File
@@ -1,7 +1,25 @@
foo.forEach { // ERROR: error: unresolved reference: foo
foo.forEach { // ERROR: error: unresolved reference: foo
1 + 1
}
fun goo(a: String) { // ERROR: error: unresolved reference: goo
fun goo(a: String) { // ERROR: error: unresolved reference: goo
super.goo(a)
}
}
/** 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 {
^ */
/** error: unresolved reference: goo
super.goo(a)
^ */