Skip to content

Parallel array enumeration causes compiler panic (enumFromToP)

Enumeration doesn't work in parallel array comprehensions:

nums = [: 0 .. 100 :]

causes a compiler panic. Interestingly, the panic seems to happen before typechecking because if we add some nonsense:

other = 5 / "bad"
nums = [: 0 .. 100 :]

it still panics.

Trac metadata
Trac field Value
Version 7.6.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information