tvh / hasql-migration

A port of postgresql-simple-migration for use with hasql
http://hackage.haskell.org/package/hasql-migration
Other
10 stars 9 forks source link

testsuite fails with hasql-1.7 #11

Open juhp opened 6 months ago

juhp commented 6 months ago
       /home/curators/work/unpack-dir/unpacked/hasql-migration-0.3.0-55e3dfca36ffe0d11e1c42bce446e3cc1d5b9a4983e196ec99c650c8b426884
5/test/Hasql/MigrationTest.hs:17:61: error: [GHC-35373]
           In the import of ‘Hasql.Session’:
             an item called ‘QueryError’
             is exported, but it is a data constructor of
             ‘SessionError’.
           Suggested fix:
             Use
               import Hasql.Session ( SessionError( QueryError ) ) 
             or
               import Hasql.Session ( SessionError(..) )
          |
       17 | import           Hasql.Session                        (run, QueryError)
          |                                                             ^^^^^^^^^^
juhp commented 6 months ago

(just FYI @nikita-volkov)

alaendle commented 3 months ago

Problem also exits in v0.3.1.