~sircmpwn/hare#782: 
Expandable arrays shouldn't be castable to unbounded arrays

Minimal reproduction: infinite loop on let a = [0...]: [*]int;

Status
RESOLVED FIXED
Submitter
~ecs
Assigned to
No-one
Submitted
1 year, 10 months ago
Updated
3 months ago
Labels
bug harec spec

~sebsite 1 year, 3 months ago

I don't think this is unique to expandable arrays; in general it shouldn't be possible to cast anything to an unbounded array, since then you have a value with an undefined size. Related: #864

~turminal REPORTED FIXED 4 months ago

Alexey Yerin referenced this ticket in commit eb38743.

~ecs 3 months ago

Alexey Yerin referenced this ticket in commit eb38743.

Register here or Log in to comment, or comment via email.