Update existing test data depending on diagnostic parameter rendering
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix" "false"
|
||||
// ERROR: Too many arguments for public open operator fun equals(other: kotlin.Any?): kotlin.Boolean defined in kotlin.Any
|
||||
// ERROR: Too many arguments for public open operator fun equals(other: Any?): Boolean defined in kotlin.Any
|
||||
|
||||
fun f(d: Any) {
|
||||
d.equals("a", <caret>"b")
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix" "false"
|
||||
// ERROR: Too many arguments for public open fun equals(other: kotlin.Any?): kotlin.Boolean defined in java.lang.Object
|
||||
// ERROR: Too many arguments for public open fun equals(other: Any?): Boolean defined in java.lang.Object
|
||||
|
||||
fun f(d: java.lang.Object) {
|
||||
d.equals("a", <caret>"b")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Add parameter to function 'foo'" "true"
|
||||
// ERROR: Too many arguments for public fun foo(): kotlin.Unit defined in b
|
||||
// ERROR: Too many arguments for public fun foo(): Unit defined in b
|
||||
package a
|
||||
|
||||
import b.foo
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add parameter to function 'foo'" "true"
|
||||
// ERROR: Too many arguments for public fun foo(): kotlin.Unit defined in b
|
||||
// ERROR: Too many arguments for public fun foo(): Unit defined in b
|
||||
package a
|
||||
|
||||
import b.foo
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.AddFunctionParametersFix" "false"
|
||||
//ERROR: Too many arguments for public final operator fun component1(): kotlin.Int defined in Data
|
||||
//ERROR: Too many arguments for public final operator fun component1(): Int defined in Data
|
||||
|
||||
data class Data(val i: Int) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user