Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -14,7 +14,7 @@ public fun foo2(bar: () -> Unit) {
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
foo1 { println ("foo1")} // prints "foo1"
|
||||
foo2 { println ("foo2")} // prints "foo2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user