Fix error type for implicit invoke with function literal argument

#KT-11401 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-01-09 22:02:54 +03:00
parent 9ff8192aff
commit cff0865c87
22 changed files with 347 additions and 7 deletions
@@ -0,0 +1,11 @@
package
public fun test(/*0*/ s: kotlin.String): kotlin.String
public object TestClass {
private constructor TestClass()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final operator inline fun </*0*/ T> invoke(/*0*/ task: () -> T): T
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}