Skip to content

Unexpected loop

The attached program executes as expected if compiled with GHC 7.0.3, but crashes with <<loop>> for GHC 7.4.1. When the code was more polymorphic (before simplifying the case), it just hanged. I suspect that the loop is related to the class dictionaries creation/passing.

Expected:

"1"
"1"

Actual:

"1"
bug: <<loop>>
Trac metadata
Trac field Value
Version 7.4.1
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