J2K: adapted for default visibility modifier 'public'
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
class C(private val arg1: Int, private val arg2: Int, private val arg3: Int) {
|
||||
internal class C internal constructor(private val arg1: Int, private val arg2: Int, private val arg3: Int) {
|
||||
|
||||
constructor(arg1: Int, arg2: Int, other: C) : this(arg1, arg2, 0) {
|
||||
internal constructor(arg1: Int, arg2: Int, other: C) : this(arg1, arg2, 0) {
|
||||
println(this.arg1 + other.arg2)
|
||||
}
|
||||
}
|
||||
|
||||
class User {
|
||||
fun foo() {
|
||||
internal class User {
|
||||
internal fun foo() {
|
||||
val c1 = C(100, 100, 100)
|
||||
val c2 = C(100, 100, c1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user