JVM IR: do not generate InlineOnly property accessors in multifile facade

#KT-37007 Fixed
This commit is contained in:
Alexander Udalov
2020-11-04 21:14:54 +01:00
parent 500b1cfbd3
commit 55974b4eda
3 changed files with 17 additions and 9 deletions
@@ -1,5 +1,3 @@
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
@file:[JvmName("Foo") JvmMultifileClass]
@@ -16,3 +14,9 @@ fun foo() {
inline var prop: String
get() = "12"
set(value) {}
inline var prop2: String
get() = "12"
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.InlineOnly
set(value) {}