[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference

This commit is contained in:
Mikhail Zarechenskiy
2019-05-06 03:35:54 +03:00
parent 871925ba31
commit d4d1648e1d
71 changed files with 77 additions and 1 deletions
@@ -1,5 +1,6 @@
// "Add parameter to function 'foo'" "true"
// ERROR: Too many arguments for public fun foo(): Unit defined in b in file addParameterWithImport.before.Dependency.kt
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
package a
import b.foo
@@ -1,5 +1,6 @@
// "Add parameter to function 'foo'" "true"
// ERROR: Too many arguments for public fun foo(): Unit defined in b in file addParameterWithImport.before.Dependency.kt
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
package a
import b.foo
@@ -1,4 +1,5 @@
// "Add parameter to constructor 'Foo'" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
private val foo = Foo(1, "2", <caret>setOf("3"))
@@ -1,4 +1,5 @@
// "Add parameter to constructor 'Foo'" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
private val foo = Foo(1, "2", <caret>setOf("3"))
@@ -1,4 +1,5 @@
// "Add parameter to function 'bar'" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
private val foo = Foo().bar(1, "2", <caret>setOf("3"))
@@ -1,4 +1,5 @@
// "Add parameter to function 'bar'" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
private val foo = Foo().bar(1, "2", <caret>setOf("3"))