Warn for unnecessary (!!) assertion after method with generics

#KT-12276 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-04-03 02:37:43 +03:00
parent 4aa808b250
commit 3cdf6c898a
4 changed files with 46 additions and 9 deletions
@@ -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