Skip to content

orc/arc miscompilation with mitems #25925

Description

@Araq

This crashes at runtime:

for p in @["abc", "123"]:
  var testA = @["a", "b", "c"]
  echo("Minifying...") # not needed, but error points to this line when really it's because of the mitems iterator.
  
  for l in testA.mitems:
    echo(l)
    # no mutation needed, testA.items is fine, but mitems crashes

Metadata

Metadata

Assignees

Type

No type
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