Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -24,7 +24,7 @@ infix fun <T> T.with(f : T.() -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
fun main() {
|
||||
val <!UNUSED_VARIABLE!>a<!> = 1 with {
|
||||
plus(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user