Update testData after changes in diagnostics

This commit is contained in:
Dmitry Petrov
2017-05-26 10:26:30 +03:00
parent 2c83718452
commit c83b764c73
89 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// "Import" "true"
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public fun String.minus(i: Integer): String defined in h<br>public fun String.minus(str: String): String defined in h
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public fun String.minus(i: Integer): String defined in h in file minusOperator.before.Main.kt<br>public fun String.minus(str: String): String defined in h in file minusOperator.before.Main.kt
package h
@@ -1,5 +1,5 @@
// "Import" "true"
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public fun String.minus(i: Integer): String defined in h<br>public fun String.minus(str: String): String defined in h
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public fun String.minus(i: Integer): String defined in h in file minusOperator.before.Main.kt<br>public fun String.minus(str: String): String defined in h in file minusOperator.before.Main.kt
package h
@@ -1,5 +1,5 @@
// "Import" "true"
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun A.unaryPlus(): Int defined in h
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun A.unaryPlus(): Int defined in h in file unaryPlusOperator.before.Main.kt
package h
@@ -1,5 +1,5 @@
// "Import" "true"
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun A.unaryPlus(): Int defined in h
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun A.unaryPlus(): Int defined in h in file unaryPlusOperator.before.Main.kt
package h
@@ -1,5 +1,5 @@
// "Add parameter to function 'foo'" "true"
// ERROR: Too many arguments for public fun foo(): Unit defined in b
// ERROR: Too many arguments for public fun foo(): Unit defined in b in file addParameterWithImport.before.Dependency.kt
package a
import b.foo
@@ -1,5 +1,5 @@
// "Add parameter to function 'foo'" "true"
// ERROR: Too many arguments for public fun foo(): Unit defined in b
// ERROR: Too many arguments for public fun foo(): Unit defined in b in file addParameterWithImport.before.Dependency.kt
package a
import b.foo
@@ -1,4 +1,4 @@
// "Create type parameter in class 'X'" "false"
// ERROR: 2 type arguments expected for class X<T, U> defined in root package
// ERROR: 2 type arguments expected for class X<T, U> defined in root package in file missingArguments.kt
class X<T, U>
fun Y(x: X<<caret>String>) {}
@@ -1,5 +1,5 @@
// "Create type parameter in class 'X'" "false"
// ERROR: No type arguments expected for class X defined in root package
// ERROR: No type arguments expected for class X defined in root package in file notOnTypeArgumentList.kt
class X
@@ -1,5 +1,5 @@
// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
// ERROR: Too many arguments for @Deprecated public fun oldFun(): Unit defined in root package
// ERROR: Too many arguments for @Deprecated public fun oldFun(): Unit defined in root package in file callWithError.kt
@Deprecated("", ReplaceWith("newFun()"))
fun oldFun() {
+1 -1
View File
@@ -1,6 +1,6 @@
// "Make 'IterablePipeline' abstract" "true"
// ERROR: 'pipe' overrides nothing
// ERROR: One type argument expected for interface Pipeline<TPipeline> defined in root package
// ERROR: One type argument expected for interface Pipeline<TPipeline> defined in root package in file kt10409.kt
// Actually this test is about getting rid of assertion happenning while creating quick fixes
// See KT-10409
+1 -1
View File
@@ -1,6 +1,6 @@
// "Make 'IterablePipeline' abstract" "true"
// ERROR: 'pipe' overrides nothing
// ERROR: One type argument expected for interface Pipeline<TPipeline> defined in root package
// ERROR: One type argument expected for interface Pipeline<TPipeline> defined in root package in file kt10409.kt
// Actually this test is about getting rid of assertion happenning while creating quick fixes
// See KT-10409