[AA] don't treat broken code as function type parameter
inspired by KTIJ-23940
This commit is contained in:
+1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user