JVM_IR: have SAM wrapper constructors accept FunctionN
Otherwise, the cached instances cannot be reused for different wrapped types. Also, if the wrapped type is regenerated during inlining, the inliner would produce a call to a nonexistent constructor that takes the regenerated type as an argument.
This commit is contained in:
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user