Fix nullable variables spilling in coroutines

See the last comment in testData for clarification

 #KT-18983 Fixed
This commit is contained in:
Denis Zharkov
2017-07-19 15:04:51 +03:00
parent 90e894b171
commit 904c7f9c64
6 changed files with 163 additions and 0 deletions
@@ -57,6 +57,9 @@ open class StrictBasicValue(type: Type?) : BasicValue(type) {
other as StrictBasicValue
if (this === NULL_VALUE) return other === NULL_VALUE
if (other === NULL_VALUE) return this === NULL_VALUE
if (type != other.type) return false
return true