GHC 8.6.5 diverges due to exponential amount of inlining from Yesod
Summary
It appears that GHC 8.6.5 is diverging when attempting to compile this file. I believe something in surveyForm is the cause. I thought it might be due to the hamlet template haskell, but it still diverges when commenting this out. Maybe it's due to the Applicative constraint solving. I'll keep investigating.
Steps to reproduce
Run stack build in this directory (this will take a while before getting to Forms.Survey).
Expected behavior
Successfully compile Forms.Survey and terminate.
Environment
- GHC version used: 8.6.5
Optional:
- Operating System: OS X and Ubuntu
- System Architecture:
Edited by Richard Eisenberg