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
@@ -1,8 +1,7 @@
// IGNORE_BACKEND: JVM_IR
class MyClass() {
inline fun <reified T> test(s: String = "") {}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: MyClass, test$default
// FLAGS: ACC_STATIC, ACC_SYNTHETIC
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC