Closed AzzaDeveloper closed 2 months ago
String arrays in nested structs causes resulting Luau code to attempt to create invalid variable names.
event Event = { from: Server, type: Unreliable, call: ManyAsync, data: struct { nested: struct { tags: string[] } } }
will generate
local Value.nested_tags_v = Value.nested.tags[i]
Playground
It should properly access nested values and generate valid code.
Describe the bug
String arrays in nested structs causes resulting Luau code to attempt to create invalid variable names.
will generate
local Value.nested_tags_v = Value.nested.tags[i]
Reproduction
Playground
Expected behavior
It should properly access nested values and generate valid code.