Update existing test data depending on diagnostic parameter rendering
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user