-
Notifications
You must be signed in to change notification settings - Fork 53
Closed as not planned
Closed as not planned
Copy link
Labels
code generationIssues related to code generationIssues related to code generation
Description
I believe I have found an issue with the JSON dictionary generated by this FPP:
struct ExampleStruct {
arrayMemberU32: [2] U32Array,
}
Where U32Array is:
array U32Array = [5] U32
That generates this JSON:
{
"kind" : "struct",
"qualifiedName" : "ExampleStruct",
"members" : {
"ex" : {
"type" : {
"name" : "U32Array",
"kind" : "qualifiedIdentifier"
},
"index" : 0,
"size" : 2
}
},
"default" : {
"ex" : [
0,
0,
0,
0,
0
]
}
},
Notice that the default value does not match the actual structure of the member. Instead, I expect something like:
"default" : {
"ex" : [[
0,
0,
0,
0,
0
], [
0,
0,
0,
0,
0
]]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code generationIssues related to code generationIssues related to code generation
Type
Projects
Status
Done