agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

EntryPoints: ambiguous reference Timeout #274

Closed ysangkok closed 3 years ago

ysangkok commented 3 years ago
    It could refer to
       either ‘Network.RPC.Curryer.Server.Timeout’,
              imported from ‘Network.RPC.Curryer.Server’ at src/lib/ProjectM36/Server/EntryPoints.hs:8:1-33
           or ‘System.Timeout.Timeout’,
              imported from ‘System.Timeout’ at src/lib/ProjectM36/Server/EntryPoints.hs:9:1-21

This is on commit e125b9a1d92e3c842c9f2335c2da8dac3b2a210a using GHC 8.10.3.

agentm commented 3 years ago

Ah, thanks for the report- this is due to recent code churn. I'll make sure that this works with GHC 8.10.

ysangkok commented 3 years ago

import System.Timeout hiding (Timeout) makes it compile for me. I added the hiding clause.

agentm commented 3 years ago

Are you using stack or cabal directly?

ysangkok commented 3 years ago

Yes, using cabal-install 3.2.