[NI] Fix initial data flow info for analyzing lambdas

#KT-30734 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-04-04 16:09:26 +03:00
parent b7ffdb9fde
commit aa96a05469
7 changed files with 44 additions and 2 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ fun returnFunctionLiteral(a: Any?): Function0<Int> {
}
fun returnFunctionLiteralExpressionBody(a: Any?): Function0<Int> =
if (a is Int) { -> <!NI;TYPE_MISMATCH, NI;TYPE_MISMATCH, NI;TYPE_MISMATCH, NI;TYPE_MISMATCH, OI;DEBUG_INFO_SMARTCAST!>a<!> }
if (a is Int) { -> <!DEBUG_INFO_SMARTCAST!>a<!> }
else { -> 1 }