Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -5,7 +5,7 @@ fun foo(i: Int) = i
|
||||
|
||||
fun bar(l: Long) = l
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
val <!UNUSED_VARIABLE!>i<!> = <!INT_LITERAL_OUT_OF_RANGE!>111111111111111777777777777777<!>
|
||||
|
||||
//todo add diagnostic text messages
|
||||
|
||||
@@ -3,5 +3,5 @@ package
|
||||
package a {
|
||||
public fun bar(/*0*/ l: kotlin.Long): kotlin.Long
|
||||
public fun foo(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
|
||||
public fun main(): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user