mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
The upcoming revamp of Lkt modules will make it impossible to have multiple Lkt source files share common declarations (`common_*.lkt`) with bi-directional references: the individual sources can import entities from the definite `common_*` modules, but the common modules do not have a specific module for their own imports. To overcome this, extend the `lkt_compile.py` script so that it considers `test.lkt` sources in test subdirectories, and arrange for the Lkt source path to make the top-level directory available: this will allow test files to all have the same name (they will be in separate directories), and so the common files will have a specific module name to use for imports.