Report UNUSED_PARAMETER in setter #KT-21129 Fixed
This commit is contained in:
@@ -23,7 +23,7 @@ inline var inlineVar: Int
|
||||
publishedVarTopLevel = 1
|
||||
return 1
|
||||
}
|
||||
set(value) {
|
||||
set(<!UNUSED_PARAMETER!>value<!>) {
|
||||
val a = A()
|
||||
a.test()
|
||||
publishedTopLevel()
|
||||
@@ -88,7 +88,7 @@ internal class A {
|
||||
return 1
|
||||
}
|
||||
|
||||
set(value) {
|
||||
set(<!UNUSED_PARAMETER!>value<!>) {
|
||||
publicFun()
|
||||
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>internalFun<!>()
|
||||
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>privateFun<!>()
|
||||
@@ -147,7 +147,7 @@ inline internal var publishedVarTopLevel: Int
|
||||
return 1
|
||||
}
|
||||
|
||||
set(value) {
|
||||
set(<!UNUSED_PARAMETER!>value<!>) {
|
||||
publicFun()
|
||||
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>internalFun<!>()
|
||||
<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>privateFun<!>()
|
||||
|
||||
Reference in New Issue
Block a user