override-sized arrays should not have the constructable flag (#7321)

This commit is contained in:
Kent Slaney
2025-03-12 08:16:04 -07:00
committed by GitHub
parent 84a4a66bc4
commit 3196a9d6fb

View File

@@ -535,7 +535,6 @@ impl super::Validator {
| TypeFlags::COPY
| TypeFlags::HOST_SHAREABLE
| TypeFlags::ARGUMENT
| TypeFlags::CONSTRUCTIBLE
}
crate::ArraySize::Dynamic => {
// Non-SIZED types may only appear as the last element of a structure.