Make Formatter Happy
Continuous Integration / Library Format Tests (push) Has been cancelled
Continuous Integration / Grammar Tests (push) Failing after 1m30s
Continuous Integration / Library Tests (push) Failing after 8s

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-05-04 10:34:33 -04:00
parent 168d48fa7c
commit 3d4d26d07b
10 changed files with 279 additions and 145 deletions
+2 -1
View File
@@ -304,7 +304,8 @@ public class P4StructValue: P4DataValue {
}
public init(withType type: P4Struct, andInitializers initializers: [P4Value?]) {
let values: [P4Value?] = zip(0..<type.fields.count(), type.fields.fields).map { (index, field) in
let values: [P4Value?] = zip(0..<type.fields.count(), type.fields.fields).map {
(index, field) in
// If there is an initializer for the field, then use it.
if index < initializers.count, let initializer = initializers[index] {
initializer