Drop unused LibrarySourceHacks

This commit is contained in:
Pavel V. Talanov
2017-03-20 18:26:13 +03:00
parent dec9fa0324
commit 06fd1f3c44
2 changed files with 0 additions and 43 deletions
@@ -156,12 +156,6 @@ private object KotlinResolveDataProvider {
return AnalysisResult.success(analyzeExpressionCodeFragment(componentProvider, analyzableElement), module)
}
val file = analyzableElement.containingKtFile
if (file.getModuleInfo() is LibrarySourceInfo) {
// Library sources: mark file to skip
file.putUserData(LibrarySourceHacks.SKIP_TOP_LEVEL_MEMBERS, true)
}
val resolveSession = componentProvider.get<ResolveSession>()
val trace = DelegatingBindingTrace(resolveSession.bindingContext, "Trace for resolution of " + analyzableElement)