NI: Fix some unwanted exclusions constraints with remained corresponding optimization

This commit is contained in:
victor.petukhov
2019-12-05 16:19:18 +03:00
parent 15f6beed57
commit 2d5a05466d
2 changed files with 49 additions and 5 deletions
@@ -2,4 +2,4 @@
fun <T : Any> nullable(): T? = null
val value = nullable<Int>() <!NI;TYPE_MISMATCH!>?:<!> <!OI;TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH!>nullable()<!>
val value = nullable<Int>() ?: <!OI;TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH!>nullable()<!>