[FIR] Handle fully qualified expressions separately in tower resolver

This commit is contained in:
Mikhail Glukhikh
2020-01-10 17:11:43 +03:00
parent 587430ff90
commit 5c6341b4e4
36 changed files with 204 additions and 47 deletions
@@ -18,7 +18,7 @@ fun testCheckWithMessage(x: Any?) {
}
fun testCheckWithFailingMessage(x: Any?) {
check(x is String) { throw kotlin.<!UNRESOLVED_REFERENCE!>IllegalStateException<!>("What a strange idea") }
check(x is String) { throw kotlin.IllegalStateException("What a strange idea") }
x.length
}
@@ -17,7 +17,7 @@ fun testRequireWithMessage(x: Any?) {
}
fun testRequireWithFailingMessage(x: Any?) {
require(x is String) { throw kotlin.<!UNRESOLVED_REFERENCE!>IllegalStateException<!>("What a strange idea") }
require(x is String) { throw kotlin.IllegalStateException("What a strange idea") }
x.length
}