Skip to content

Incorrect local reusage? #75

Description

@pufferfish101007

It seems that sometimes locals are reused for things that they're not meant to be. Is fixed by enabling SSA, but disabling variable merging doesn't fix it.

Sample reproducer:
https://scratch.mit.edu/projects/1384687851/
https://hyperquark.edgecompute.app/projects/1384687851

Loops endlessly, or sometimes makes no change to the variable.

First observed on #73 but happens on v0.0.10 as well.

Reproducer can probably be minimised further.

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

    Type

    Fields

    Priority

    priority: high

    Effort

    effort: medium

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions