If you have a module and its sub module in the same directory, then the sub module's belongs-to reference should first try to find the main module in the same current directory, before trying other more distant places. However this is not the case resulting in the following error on the main module's include statement:
The imported submodule 'subx' belongs to the different module 'simple1'.(included-submodule-belongs-to-different-module)
To reproduce place the following two modules in 2 separate directories (not inheriting one another):
Hi,
If you have a module and its sub module in the same directory, then the sub module's belongs-to reference should first try to find the main module in the same current directory, before trying other more distant places. However this is not the case resulting in the following error on the main module's include statement:
The imported submodule 'subx' belongs to the different module 'simple1'.(included-submodule-belongs-to-different-module)
To reproduce place the following two modules in 2 separate directories (not inheriting one another):
It should be possible to have same set of modules in distinct directories like this without the yang-lsp reference lookup getting lost.
Is this related to fixed issue https://github.com/theia-ide/yang-lsp/issues/190 ?
Thanks, Andreas