check idents in NamedArg also
This commit is contained in:
parent
ea01a93563
commit
54a5fec08e
|
|
@ -113,8 +113,8 @@ function getTokenType(
|
|||
}
|
||||
}
|
||||
|
||||
// Special case: Identifier in PositionalArg - check scope
|
||||
if (parentTypeId === Terms.PositionalArg) {
|
||||
// Special case: Identifier in PositionalArg or NamedArg- check scope
|
||||
if (parentTypeId === Terms.PositionalArg || parentTypeId === Terms.NamedArg) {
|
||||
const identifierText = document.getText({
|
||||
start: document.positionAt(node.from),
|
||||
end: document.positionAt(node.to),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user