f283f2db43
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
12 lines
221 B
Kotlin
Vendored
12 lines
221 B
Kotlin
Vendored
//KT-1738 Make it possible to define visibility for constructor parameters which become properties
|
|
|
|
package kt1738
|
|
|
|
class A(private var i: Int, var j: Int) {
|
|
}
|
|
|
|
fun test(a: A) {
|
|
a.<!HIDDEN, HIDDEN!>i<!>++
|
|
a.j++
|
|
}
|