mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 20:17:48 +00:00
Allow for non-constant simd vector compound types
This commit is contained in:
@@ -7885,7 +7885,7 @@ ExprKind check_compound_literal(CheckerContext *c, Operand *o, Ast *node, Type *
|
||||
|
||||
if (t->kind == Type_SimdVector) {
|
||||
if (!is_constant) {
|
||||
error(node, "Expected all constant elements for a simd vector");
|
||||
// error(node, "Expected all constant elements for a simd vector");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user