Make inline+reified functions synthetic instead of private in bytecode

#KT-18563 Fixed
This commit is contained in:
Alexander Udalov
2019-04-10 15:52:25 +03:00
parent a645b36688
commit f9d61f2dc7
26 changed files with 119 additions and 34 deletions
+10
View File
@@ -0,0 +1,10 @@
// IGNORE_BACKEND: JVM_IR
class MyClass {
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.InlineOnly
inline fun test(s: String) {}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: MyClass, test
// FLAGS: ACC_PRIVATE, ACC_FINAL