Skip to content

Array owner code seems to sometimes generate too often with array literals #40

Description

@colinator27

Describe the bug
In DELTARUNE Chapter 5 (2022 LTS), it seems that some instances of @@NewGMLArray@@ create extra array owner IDs that shouldn't be created.

To Reproduce
Observed in some DR ch5 code entries, such as gml_Object_obj_yellow_trial_manager_Create_0 and gml_Object_obj_room_krishallway_Create_0.

Expected behavior
We should determine the root cause of these extra IDs being generated (including checking if it's GM version-dependent), and then fix that problem accordingly. If it involves implementing some horrific compiler quirks, maybe it's not a good idea, though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompilerInvolves the compilerround-trip issuesIssues pertaining to round-trip decompiling and compiling code to the exact same bytecode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions