Skip to content

"simplify_assignments" creates infinite loop with iterate #507

Description

@sppalkia

e.g., the following code will loop infinitely due to an incorrect variable deletion in the SIR:

|e: vec[i8]|
let lenString = len(e);
iterate(lenString - 1L, |p| {p - 1L, p > 7L})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions