[NI] Refine nullability for CST of types with undefined nullability
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// !DIAGNOSTICS: -NOTHING_TO_INLINE
|
||||
// NI_EXPECTED_FILE
|
||||
// See KT-9143: smart cast on a variable nulled inside a lambda argument
|
||||
inline fun <T> foo(t1: T, t2: T) = t1 ?: t2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user