[NI] Try to analyze each lambda at least once

This commit is contained in:
Mikhail Zarechenskiy
2017-07-18 15:09:58 +03:00
parent 07a4496054
commit 9e018fa094
@@ -213,6 +213,9 @@ class KotlinCallCompleter(
private fun canWeAnalyzeIt(c: Context, lambda: PostponedLambdaArgument): Boolean {
if (lambda.analyzed) return false
if (c.hasContradiction) return true // to record info about lambda and avoid exceptions
lambda.receiver?.let {
if (!c.canBeProper(it)) return false
}