Result unused: a few enhancements for PSI checks
Related to KT-15063, KT-24433
This commit is contained in:
@@ -52,3 +52,10 @@ fun DbHandler.test() {
|
||||
doStuff().await()
|
||||
}
|
||||
|
||||
operator fun Deferred<Int>.unaryPlus() = this
|
||||
operator fun Deferred<Int>.plus(arg: Int) = this
|
||||
|
||||
fun moreFalsePositives() {
|
||||
+(async { 0 })
|
||||
async { -1 } + 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user