Skip to content

Incorrect array declarations may crash the compiler #328

Description

@cardillan

Some incorrect array declarations, followed by list iteration loop over the array (and maybe other attempts to use the array), may cause the compiler to crash:

var a[];

for x in a do print(x); end;

This code wouldn't compile anyway, and the original error is reported, so the workaround is to fix the array declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompilerRelated to the code generator

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions