summaryrefslogtreecommitdiffstats
path: root/docs/user-guide
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2025-02-06 10:45:11 +0200
committerGitHub <noreply@github.com>2025-02-06 08:45:11 +0000
commit075b10e69055acc6536d74c1cb3399e0fe75338d (patch)
tree577a56d61565058047f8e5e5d35215fbd5608816 /docs/user-guide
parent6b63ff0265ee9bdb8229bb12c71c223c00de0ffa (diff)
Don't overwrite existing module decl scopes when parsing new source files (#6292)
When a module consists of multiple source files, the module scope gets over-written for each source file that's parsed into the module. The result is that if you do something like the following, where source1.slang contains an import statement, then the imported module will get imported into the module scope corresponding to source2.slang, but won't be found from the scope of source1.slang. slangc source1.slang source2.slang # 1 module from 2 source files This patch fixes this problem by not over-writing existing container decl scope when parsing new source files into the container. This closes $6221.
Diffstat (limited to 'docs/user-guide')
0 files changed, 0 insertions, 0 deletions