[FIR] Report missing ASSIGNMENT_TYPE_MISMATCH on functional types

^KT-45989
This commit is contained in:
Dmitriy Novozhilov
2023-04-28 14:52:19 +03:00
committed by Space Team
parent 71d6103122
commit 82653855ab
8 changed files with 13 additions and 17 deletions
@@ -27,5 +27,5 @@ fun testReceiverType() {
val bas: String.() -> Unit = fun String.() {}
val bag: Int.() -> Unit = fun String.() {}
}
val bag: Int.() -> Unit = <!INITIALIZER_TYPE_MISMATCH!>fun String.() {}<!>
}