Support smart casts after if (nullable ?: boolean) #KT-8492 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-08-10 16:38:38 +03:00
parent 9be5cf89b4
commit b2d931fb1f
8 changed files with 160 additions and 2 deletions
@@ -1,4 +1,4 @@
// !LANGUAGE: -SafeCastCheckBoundSmartCasts
// !LANGUAGE: -SafeCastCheckBoundSmartCasts -BooleanElvisBoundSmartCasts
// A set of examples for
// "If the result of a safe call is not null, understand that its receiver is not null"
// and some other improvements for nullability detection