[AA] don't treat broken code as function type parameter

inspired by KTIJ-23940
This commit is contained in:
Anna Kozlova
2023-01-13 09:41:46 +01:00
committed by Space Team
parent 115bc6ac89
commit 6f9cfe1943
10 changed files with 160 additions and 1 deletions
@@ -30,6 +30,7 @@ abstract class AbstractSymbolByPsiTest : AbstractSymbolTest() {
is KtDestructuringDeclaration -> false
is KtPropertyAccessor -> false
is KtParameter -> !this.isFunctionTypeParameter && this.parent !is KtParameterList
is KtNamedFunction -> this.name != null
else -> true
}
}