summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/uninitialized-generic.slang
Commit message (Collapse)AuthorAge
* Fix incorrect resolve of specialization instance (#6162)Jay Kwak2025-01-23
* 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.