Call analyzeDeclarations() that includes files where it was called before refactoring

This commit is contained in:
Andrey Breslav
2015-01-26 21:31:12 +03:00
parent 6035260e68
commit 4d66551067
7 changed files with 68 additions and 65 deletions
@@ -253,7 +253,7 @@ private object KotlinResolveDataProvider {
trace,
targetPlatform.getAdditionalCheckerProvider(),
targetPlatform.getDynamicTypesSettings()
).getLazyTopDownAnalyzer()!!
).getLazyTopDownAnalyzerForTopLevel()!!
lazyTopDownAnalyzer.analyzeDeclarations(
TopDownAnalysisParameters.create(
@@ -263,8 +263,7 @@ private object KotlinResolveDataProvider {
/* analyzingBootstrapLibrary = */ false,
/* declaredLocally = */ false
),
listOf(analyzableElement),
DataFlowInfo.EMPTY
listOf(analyzableElement)
)
return AnalysisResult.success(
trace.getBindingContext(),