Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-10-19 15:19:17 +03:00
parent b9161c5293
commit f3555daa60
205 changed files with 241 additions and 207 deletions
@@ -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
}