rename expand to inline

This commit is contained in:
2026-08-02 20:31:05 +02:00
parent c92723bc14
commit 9e79d6692b
13 changed files with 123 additions and 82 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ EnumFieldStruct func($E, $Field type, $default ?Field) type {
names [info.fields.len]mut []u8 = undefined
field_types [info.fields.len]mut type = undefined
defaults [info.fields.len]mut ?Field = undefined
expand for info.fields |field, index| {
inline for info.fields |field, index| {
names[index] = field.name
field_types[index] = Field
defaults[index] = default