Skip to content

Structs with "impossible" fields do not decompile correctly. #23

@BenjaminUrquhart

Description

@BenjaminUrquhart

Incorrect output observed

{
    variable_struct_set(self, "(", function()
    {
        return "what";
    })
};

Expected output

{ "(": function() { return "what" } }

VM assembly
Sample data file

Additional context

It seems the Gamemaker compiler emits a call to variable_struct_set if a field has an otherwise invalid name and UA does not expect that.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdecompilerInvolves the decompiler

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions