-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Initialization of incomplete arrays fail because the size of the entity to initialize is undefined which trips over how we iterate the initializers. I need to create an alternate flow to support repeatedly iterating the dest types list to handle unknown array sizes.
Problematic code:
export void fn() {
int2 Arr[] = {int2(0,1), int2(2,3), int2(4,5)};
}
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Closed