Function and Constructor converted; no longer emit 'open' modifier for private functions
This commit is contained in:
committed by
Pavel V. Talanov
parent
80e678e2ec
commit
4a07263908
@@ -1,4 +1,4 @@
|
||||
public open class MyClass() {
|
||||
private open fun init(arg1 : Int, arg2 : Int, arg3 : Int) : Unit {
|
||||
private fun init(arg1 : Int, arg2 : Int, arg3 : Int) : Unit {
|
||||
}
|
||||
}
|
||||
@@ -8,9 +8,9 @@ return _firstName
|
||||
public open fun getLastName() : String? {
|
||||
return _lastName
|
||||
}
|
||||
private open fun doSmthBefore() : Unit {
|
||||
private fun doSmthBefore() : Unit {
|
||||
}
|
||||
private open fun doSmthAfter() : Unit {
|
||||
private fun doSmthAfter() : Unit {
|
||||
}
|
||||
{
|
||||
doSmthBefore()
|
||||
|
||||
Reference in New Issue
Block a user