Renamer hangs when checking type family consistency
checkFamInstConsistency goes into and endless loop in some situations when called from tcRnImports. I have attached a tarball containing a boiled-down example consisting of three .hs files and a shell script. The hang only happens when compiling the three files (in dependency order) manually with -c; the hang does not happen with --make. So it looks like importing a module is not loading something that checkFamInstConsistency is assuming is there.
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 |