[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
This commit is contained in:
@@ -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
@@ -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"))
|
||||
Reference in New Issue
Block a user