Exclude reporting IMPLICIT_NOTHING_AS_TYPE_PARAMETER warning for suspend lambdas
^KT-36101 Fixed
This commit is contained in:
+10
@@ -101,3 +101,13 @@ fun test1() {
|
||||
fun test2() {
|
||||
errorCompletion.invoke(Exception("fail"))
|
||||
}
|
||||
|
||||
fun test3() {
|
||||
foo {
|
||||
produceNothing()
|
||||
}
|
||||
}
|
||||
|
||||
fun produceNothing(): Nothing = TODO()
|
||||
|
||||
fun <R> foo(block: suspend String.() -> R) = null as R
|
||||
|
||||
+10
@@ -101,3 +101,13 @@ fun test1() {
|
||||
fun test2() {
|
||||
errorCompletion.invoke(Exception("fail"))
|
||||
}
|
||||
|
||||
fun test3() {
|
||||
foo {
|
||||
produceNothing()
|
||||
}
|
||||
}
|
||||
|
||||
fun produceNothing(): Nothing = TODO()
|
||||
|
||||
fun <R> foo(block: suspend String.() -> R) = null as R
|
||||
|
||||
Reference in New Issue
Block a user