Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-10-19 15:19:17 +03:00
parent b9161c5293
commit f3555daa60
205 changed files with 241 additions and 207 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class BImpl: B
class C: A, B
fun main(args: Array<String>) {
fun main() {
AImpl().f()
BImpl().f()
C().<!NI;OVERLOAD_RESOLUTION_AMBIGUITY, OI;CANNOT_COMPLETE_RESOLVE!>f<!>()
+1 -1
View File
@@ -1,6 +1,6 @@
package
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
public fun main(): kotlin.Unit
public fun </*0*/ R : A> R.f(): kotlin.Unit
public fun </*0*/ R : B> R.f(): kotlin.Unit