JVM IR: Use correct scope owner in JvmInlineClassLowering

This commit is contained in:
Steven Schäfer
2019-08-22 11:18:46 +02:00
committed by Alexander Udalov
parent 2afbeaa353
commit cdd3f82396
4 changed files with 8 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JVM_IR
inline class Foo(val x: Int) {
inline fun inlineInc(): Foo = Foo(x + 1)