Skip to content

"For loop" causing infinite loops #1201

Closed
@togekk1

Description

@togekk1

Hi,

I used this "for loop" in my code:
https://github.com/togekk1/simon-cheng/blob/ded2d0354d1dbaebcf3b296674946412deffa44d/src/wasm/assembly/index.ts#L61-L66

When I put it in to comments as the link above shows, the "render" function runs normally.
When I remove the comment marks from only Line 61 and Line 66, "render" function keeps being executed.
But the array "split_by_or" only has 2 items.

Can you help me look into this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions