KT-10322, KT-10646, KT-10647:
- update diagnostic to (supposedly) more useful - also report IMPLICIT_CAST_TO_ANY if expected type is DONT_CARE (effectively "no expected type" for lambda expression).
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public var longWords: kotlin.Int
|
||||
public val smallWords: java.util.HashSet<kotlin.String>
|
||||
public fun test1(/*0*/ word: kotlin.String): kotlin.Any
|
||||
public fun test2(/*0*/ word: kotlin.String): kotlin.Any
|
||||
Reference in New Issue
Block a user