Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//KT-2212 Incomplete nullability information
|
||||
package kt2212
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun main() {
|
||||
val x: Int? = 1
|
||||
if (x == null) return
|
||||
System.out.println(<!DEBUG_INFO_SMARTCAST!>x<!>.plus(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>))
|
||||
|
||||
Reference in New Issue
Block a user