Fix generation of bridges for lambdas
#KT-8447 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
interface GenericInterface<T> {
|
||||
public T foo(double d, int i, long j, short s);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun getInterface(): GenericInterface<String> {
|
||||
return GenericInterface { d, i, j, s ->
|
||||
"OK"
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return getInterface().foo(0.0, 0, 0, 0)
|
||||
}
|
||||
Reference in New Issue
Block a user