Update existing test data depending on diagnostic parameter rendering

This commit is contained in:
Pavel V. Talanov
2016-02-25 13:56:43 +03:00
parent 5304ddfca3
commit a4c005fefd
154 changed files with 292 additions and 292 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
// ERROR: 'return' is not allowed here
// ERROR: Type mismatch: inferred type is kotlin.String but kotlin.Unit was expected
// ERROR: Type mismatch: inferred type is String but Unit was expected
// ERROR: 'return' is not allowed here
// ERROR: Type mismatch: inferred type is kotlin.String but kotlin.Unit was expected
// ERROR: Type mismatch: inferred type is String but Unit was expected
// ERROR: 'return' is not allowed here
// ERROR: Type mismatch: inferred type is kotlin.String but kotlin.Unit was expected
// ERROR: Type mismatch: inferred type is String but Unit was expected
class Java8Class {
fun foo0(r: Function0<String>) {
}
@@ -1,4 +1,4 @@
// ERROR: Type inference failed: Not enough information to infer parameter T in fun <T> emptyList(): kotlin.collections.List<T> Please specify it explicitly.
// ERROR: Type inference failed: Not enough information to infer parameter T in fun <T> emptyList(): List<T> Please specify it explicitly.
package test
import java.util.Collections