1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-01-13 18:30:21 +00:00

Working on structs with arrays.

This commit is contained in:
jespergravgaard 2019-12-28 02:14:05 +01:00
parent b72b2f5910
commit 4bd3d4a6b1

View File

@ -489,7 +489,7 @@ public class Pass1UnwindStructValues extends Pass1Base {
@Override
public List<String> getMemberNames() {
Collection<Variable> structMemberVars = structDefinition.getAllVariables(false);
Collection<Variable> structMemberVars = structDefinition.getAllVars(false);
ArrayList<String> memberNames = new ArrayList<>();
for(Variable structMemberVar : structMemberVars) {
memberNames.add(structMemberVar.getLocalName());