Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -7,7 +7,7 @@ fun sum(a : IntArray) : Int {
|
||||
for (e in a)
|
||||
<!UNRESOLVED_REFERENCE!>res<!> <!DEBUG_INFO_MISSING_UNRESOLVED!>+=<!><!SYNTAX!><!>
|
||||
}
|
||||
fun main(args : Array<String>) {
|
||||
fun main() {
|
||||
test(0)
|
||||
test(1, 1)
|
||||
test(-1, -1, 0)
|
||||
|
||||
Reference in New Issue
Block a user