Report error about uninferred type parameter for all CallForImplicitInvoke psi calls
^KT-44368 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
inline operator fun <reified T> Int.invoke() = this
|
||||
|
||||
val a2 = 1()
|
||||
val a3 = 1.invoke()
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
inline operator fun <reified T> Int.invoke() = this
|
||||
|
||||
val a2 = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>1<!>()
|
||||
val a3 = 1.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>invoke<!>()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package
|
||||
|
||||
public val a2: kotlin.Int
|
||||
public val a3: kotlin.Int
|
||||
public inline operator fun </*0*/ reified T> kotlin.Int.invoke(): kotlin.Int
|
||||
Reference in New Issue
Block a user