summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/uninitialized-resource-type.slang.1.expected
Commit message (Collapse)AuthorAge
* Fix crash when handling uninitialized resource type (#6338)kaizhangNV2025-02-12
* Fix crash when handling uninitialized resource type close #6328. When declare a var with struct type, if the struct has a resource type field and it doesn't provide explicit constructor, because slang won't implicit construct such variable at declare site if user doesn't explicitly call the initializer list, we should report the resource type field uninitialized as an error to prevent future possible crash when legalize any use of such variable.