Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -3,7 +3,7 @@ class A {
|
||||
fun set(<!UNUSED_PARAMETER!>x<!>: Int, <!UNUSED_PARAMETER!>y<!>: Int) {} // no `operator` modifier
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
val a = A()
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a[1]<!>++
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a[1]<!> += 3
|
||||
|
||||
Reference in New Issue
Block a user