khibino / haskell-relational-record

This repository includes a joined query generator based on typefull relational algebra, and mapping tools between SQL values list and Haskell record type.
233 stars 36 forks source link

Test suite triggers GHC bug on 8.0.2 #51

Closed snoyberg closed 7 years ago

snoyberg commented 7 years ago
Preprocessing test suite 'sqls' for relational-query-0.8.3.2...
[1 of 3] Compiling Model            ( test/Model.hs, dist/build/sqls/sqls-tmp/Model.o )
[2 of 3] Compiling Lex              ( test/Lex.hs, dist/build/sqls/sqls-tmp/Lex.o )
[3 of 3] Compiling Main             ( test/sqlsEq.hs, dist/build/sqls/sqls-tmp/Main.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.0.2 for x86_64-unknown-linux):
        Simplifier ticks exhausted
  When trying UnfoldingDone runReaderT
  To increase the limit, use -fsimpl-tick-factor=N (default 100)
  If you need to do this, let GHC HQ know, and what factor you needed
  To see detailed counts use -ddump-simpl-stats
  Total ticks: 405365

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
khibino commented 7 years ago

I applied work around fix in https://github.com/khibino/haskell-relational-record/commit/55255c3d603428493e21cf6fd9dcbbfa229a8829 , and I uploaded fixed version https://hackage.haskell.org/package/relational-query-0.8.3.3