Use bound resolution facade in DeprecationResolver usages
Resolution facade should be used consistently with direct usages of frontend components. Otherwise they can start processing descriptors from foreign resolvers which leads to memory leaks. Plain resolution API with provided facade is not suitable as-is for compiled declarations in KotlinIndicesHelper though. Resolution facade for module sources contained in helper can't handle decompiled sources from PSI indices (leads to "ModuleInfo not contained in resolver" errors). That's why "hacked" resolve via import references should be used there. #KT-39642 Fixed
Showing
想要评论请 注册 或 登录