IR. Change visibility to lowered default function/constructors to public
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
class MyClass() {
|
||||
fun test(s: String = "") {}
|
||||
open class MyClass() {
|
||||
fun testPublic(s: String = "") {}
|
||||
|
||||
protected fun testProtected(s: String = "") {}
|
||||
|
||||
private fun testPrivate(s: String = "") {}
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: MyClass, test$default
|
||||
// TESTED_OBJECTS: MyClass, testPublic$default
|
||||
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: MyClass, testProtected$default
|
||||
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: MyClass, testPrivate$default
|
||||
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
|
||||
Reference in New Issue
Block a user