GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:48:21Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/7736Parallel array enumeration causes compiler panic (enumFromToP)2019-07-07T18:48:21ZamosrobinsonParallel 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...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.
<details><summary>Trac metadata</summary>
| 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 | |
</details>
<!-- {"blocked_by":[],"summary":"Parallel array enumeration causes compiler panic (enumFromToP)","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.6.2","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Enumeration doesn't work in parallel array comprehensions:\r\n\r\n{{{\r\nnums = [: 0 .. 100 :]\r\n}}}\r\n\r\ncauses a compiler panic. Interestingly, the panic seems to happen before typechecking because if we add some nonsense:\r\n\r\n{{{\r\nother = 5 / \"bad\"\r\nnums = [: 0 .. 100 :]\r\n}}}\r\n\r\nit still panics.\r\n","type_of_failure":"OtherFailure","blocking":[]} -->7.10.1Manuel M T ChakravartyManuel M T Chakravarty