Skip to content

Problem with ranges #143

Closed
Closed
@vendethiel

Description

@vendethiel

I get the following error (on cup and with ./coco)

Code: i = 0; x = [1 to i]
Coco: ReferenceError: returni is not defined
As the contrary, LS:

var i, x;
i = 0;
x = [1, 2, 3];

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions