[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
This commit is contained in:
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
// "Replace with 'New'" "true"
|
||||
// WITH_RUNTIME
|
||||
// ERROR: Type inference failed: Not enough information to infer parameter T in constructor New<T>()<br>Please specify it explicitly.<br>
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
|
||||
|
||||
abstract class Main<T>
|
||||
|
||||
|
||||
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
// "Replace with 'New'" "true"
|
||||
// WITH_RUNTIME
|
||||
// ERROR: Type inference failed: Not enough information to infer parameter T in constructor New<T>()<br>Please specify it explicitly.<br>
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
|
||||
|
||||
abstract class Main<T>
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Replace with 'Factory()'" "true"
|
||||
// WITH_RUNTIME
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
|
||||
|
||||
class Foo<T> @Deprecated("", ReplaceWith("Factory<T>()")) constructor()
|
||||
fun <T> Factory(): Foo<T> = TODO()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Replace with 'Factory()'" "true"
|
||||
// WITH_RUNTIME
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
|
||||
|
||||
class Foo<T> @Deprecated("", ReplaceWith("Factory<T>()")) constructor()
|
||||
fun <T> Factory(): Foo<T> = TODO()
|
||||
|
||||
Reference in New Issue
Block a user