[cfg] don't traverse annotation arguments for decompiled code
^ KT-57768 decompiled code have no annotation arguments expressions, but search for them causes decompiling of code which is slow and unneeded
This commit is contained in:
+5
@@ -951,6 +951,11 @@ class ControlFlowInformationProviderImpl private constructor(
|
||||
}
|
||||
|
||||
private fun markAnnotationArguments() {
|
||||
if (subroutine.containingKtFile.isCompiled) {
|
||||
//annotation arguments are not included in the decompiled code,
|
||||
//so no need to search for them
|
||||
return
|
||||
}
|
||||
if (subroutine is KtAnnotationEntry) {
|
||||
markAnnotationArguments(subroutine)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user