-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
Milestone
Description
In the following example, you cannot navigate (“Go to Definition”) from the argument-parameter elements berry or name:
delete from berry where name = /* @isBlank(berry.name) */(1,2)In SqlPsiReferenceProvider.kt, the provider logic treats the argument-parameter element as a child of the function-call element before checking its own children.
As a result, the berry and name elements inside the argument-parameter are incorrectly handled as part of the custom-function reference resolution and cannot resolve to their true definitions.
See:
Line 44 in d0e4d1e
| getParentClassPsiType(element, SqlElFunctionCallExpr::class.java) != null -> |