From 88642d4aa35269a5d7193da49f36dcff1ab84ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CB=8Cbod=CA=B2=C9=AA=CB=88=C9=A1r=CA=B2im?= Date: Wed, 6 Jul 2022 21:25:16 +0100 Subject: [PATCH] hls-plugin-api: add lower bounds Before `opentelemetry-0.4` `SpanInFlight` is not exported. Before `dependent-sum-0.7` `GCompare` is not coming from `some`, but is defined elsewhere, which leads to incompatibility with `lsp`. --- hls-plugin-api/hls-plugin-api.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hls-plugin-api/hls-plugin-api.cabal b/hls-plugin-api/hls-plugin-api.cabal index 301b0cd233..0d79ec3bac 100644 --- a/hls-plugin-api/hls-plugin-api.cabal +++ b/hls-plugin-api/hls-plugin-api.cabal @@ -39,7 +39,7 @@ library , containers , data-default , dependent-map - , dependent-sum + , dependent-sum >=0.7 , Diff ^>=0.4.0 , dlist , extra @@ -50,7 +50,7 @@ library , lens , lens-aeson , lsp >=1.4.0.0 && < 1.6 - , opentelemetry + , opentelemetry >=0.4 , optparse-applicative , process , regex-tdfa >=1.3.1.0