GLR_Lib.hs "Couldn't match expected type ‘Bool’ with actual type ‘Int#’"
Open
- Dominant language
- Haskell
- Stars
- 322
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
GLR mode seems broken. Trying to compile the generated parser reports several instances of the error __Couldn't match expected type ‘Bool’ with actual type ‘Int#’__.
E.g
```
GLR_Lib.hs:236:33: error:
• Couldn't match expected type ‘Bool’ with actual type ‘Int#’
• In the expression: (this_state ==# goto this_state m)
In a stmt of a list comprehension:
(this_state ==# goto this_state m)
In the expression:
[m |
(m, 0, _) <- rs,
(this_state ==# goto this_state m),
m `notElem` cyclic_names]
```
Contributor guide
Assessment
This issue has not been assessed yet.