From 6e69ebdfd0260b686072061a84075f665c463fe1 Mon Sep 17 00:00:00 2001 From: Samuel Evans-Powell Date: Tue, 22 Mar 2022 09:10:42 +0800 Subject: [PATCH] Quick fix: Constrain hedgehog < 1.1 - Constrain the version of hedgehog to < 1.1. Versions >= 1.1 define the Rec constructor in Hedgehog, which conflicts with the Rec constructor defined in plutus-ir/src/PlutusIR/Generators/AST.hs. --- cabal.project | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cabal.project b/cabal.project index fa891ac60f5..1e59b959a72 100644 --- a/cabal.project +++ b/cabal.project @@ -245,6 +245,11 @@ allow-newer: constraints: hedgehog >= 1.0.2 + -- QUICK FIX: hedgehog >= 1.1 defines Rec constructor, PlutusIR also defines + -- Rec constructor, and imports Hedgehog unqualified, leading to ambiguous + -- reference to Rec. + -- FIXME: https://input-output.atlassian.net/browse/ADP-1545 + , hedgehog < 1.1 , hashable < 1.4 , bimap >= 0.4.0 , libsystemd-journal >= 1.4.4