Warn for unnecessary (!!) assertion after method with generics
#KT-12276 Fixed
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> dependOn(/*0*/ x: T): T
|
||||
public fun </*0*/ T> notNull(): T
|
||||
public fun </*0*/ T> nullable(): T?
|
||||
public fun takeNotNull(/*0*/ s: kotlin.String): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
Reference in New Issue
Block a user