Don't report UNUSED_PARAMETER in main from object #KT-37718 Fixed

This commit is contained in:
Mikhail Glukhikh
2020-03-26 18:25:51 +03:00
parent cec0f58544
commit 7bfd354a77
6 changed files with 35 additions and 0 deletions
@@ -0,0 +1,6 @@
// FIR_IDENTICAL
object Test {
@JvmStatic
fun main(args: Array<String>) {
}
}
@@ -0,0 +1,9 @@
package
public object Test {
private constructor Test()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@kotlin.jvm.JvmStatic public final fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}