Closed spoenemann closed 4 years ago
Fixes #163. The following code
https://github.com/theia-ide/yang-lsp/blob/6c07988cbc287749feeec20f7838bd666c2803b7/yang-lsp/io.typefox.yang/src/main/java/io/typefox/yang/scoping/ScopeContextProvider.xtend#L544-L548
inserts an additional path segment for an implicit Case node. This segment must be skipped when resolving XPaths, like it is already done for explicit Cases.
Fixes #163. The following code
https://github.com/theia-ide/yang-lsp/blob/6c07988cbc287749feeec20f7838bd666c2803b7/yang-lsp/io.typefox.yang/src/main/java/io/typefox/yang/scoping/ScopeContextProvider.xtend#L544-L548
inserts an additional path segment for an implicit Case node. This segment must be skipped when resolving XPaths, like it is already done for explicit Cases.