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:
pyos
2019-10-21 14:58:32 +02:00
committed by max-kammerer
parent 862197d713
commit 42f75b3247
2 changed files with 14 additions and 12 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test