K1: count anonymous function as function expression in checkers
Related to KT-57991
This commit is contained in:
committed by
Space Team
parent
c8b74e5655
commit
0dbf698653
@@ -1,7 +0,0 @@
|
||||
// ISSUE: KT-57991
|
||||
|
||||
fun foo() {
|
||||
<!WRONG_MODIFIER_TARGET!>suspend<!> fun() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-57991
|
||||
|
||||
fun foo() {
|
||||
suspend fun() {
|
||||
<!WRONG_MODIFIER_TARGET!>suspend<!> fun() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user