Files
Vladimir Dolzhenko 2a97ba2643 [kotlin] Workaround in incremental analysis due to FE issue
FE does not report CONSTANT_EXPECTED_TYPE_MISMATCH on KtProperty analysis, has to fall back to KtFile to trigger check while fix is not in FE

Relates to #KTIJ-20240

GitOrigin-RevId: a771817cc80d12d160a1d288030a1dc5e2fe0788
2021-11-26 19:56:01 +00:00

10 lines
140 B
Kotlin

// WITH_STDLIB
// OUT_OF_CODE_BLOCK: FALSE
// TYPE: 'u'
fun fooFun() {
val z: UInt = 0<caret>
}
class FooClass {
val x: UInt = 1u
}