Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -4,7 +4,7 @@ class G {
|
||||
infix fun foo(bar: (Int) -> Int) = bar
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
use(
|
||||
G().foo {it + 11} // no error
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user