Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
"".run {
|
||||
<!UNUSED_EXPRESSION!>""<!>
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
|
||||
public fun main(): kotlin.Unit
|
||||
public fun </*0*/ T> T.run(/*0*/ f: (T) -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user