Skip to content

Commit

Permalink
Fix @Local.type for source matching too
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Mar 31, 2024
1 parent 77bcf22 commit b4f511b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ExpressionInjectionPoint : InjectionPoint<PsiElement>() {

val locals = annotation.findDeclaredAttributeValue("local")?.findAnnotations() ?: emptyList()
for (localAnnotation in locals) {
val localType = annotation.findDeclaredAttributeValue("type")?.resolveType()
val localType = localAnnotation.findDeclaredAttributeValue("type")?.resolveType()
val localInfo = LocalInfo.fromAnnotation(localType, localAnnotation)
matchContext.addLocalInfo(definitionId, localInfo)
}
Expand Down

0 comments on commit b4f511b

Please sign in to comment.