From 12fcffaaaf2d1ffa2eefa680e2d7c9971e38a5db Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 8 Dec 2023 16:10:27 -0800 Subject: Handle import, entrypoint and global params in included files. (#3395) * Handle `import`, entrypoint and global params in included files. * Fix language server. * Extend `_createScopeForLegacyLookup` for `__include`. --------- Co-authored-by: Yong He --- tests/language-feature/modules/import-in-include/helper.slang | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/language-feature/modules/import-in-include/helper.slang (limited to 'tests/language-feature/modules/import-in-include/helper.slang') diff --git a/tests/language-feature/modules/import-in-include/helper.slang b/tests/language-feature/modules/import-in-include/helper.slang new file mode 100644 index 000000000..92c1bfb96 --- /dev/null +++ b/tests/language-feature/modules/import-in-include/helper.slang @@ -0,0 +1,6 @@ +module helper; + +public int helperFunc() +{ + return 1; +} -- cgit v1.2.3