summaryrefslogtreecommitdiffstats
path: root/source/core/slang-command-options.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-01-23 00:06:21 -0800
committerGitHub <noreply@github.com>2025-01-23 00:06:21 -0800
commita9ce7520e5f1b97b09e5de69455258bef55e10d2 (patch)
treeab9af31ba0a52cd4dd245e19fa4323864286f551 /source/core/slang-command-options.cpp
parent8000e0ede34e920cc7f37d69a335d74a472eff42 (diff)
Fix incorrect resolve of specialization instance (#6162)
* Fix incorrect resolve of specialization instance While checking the uninitialized variables, we were not resolving the specialized instance correctly. This commit repeats the resolve while the result is a specialization instance. A new test is added for this: tests/diagnostics/uninitialized-generic.slang After the problem is fixed, it revealed another problem in existing tests: tests/compute/nested-generics2.slang tests/diagnostics/uninitialized-local-variables.slang When a struct has a member variable whose type is a generic type, we cannot iterate over its member variables yet, because the type is unknown until the generic function/struct is specialized. We will have to give up checking for these cases.
Diffstat (limited to 'source/core/slang-command-options.cpp')
0 files changed, 0 insertions, 0 deletions