From a7c6294e8a3b08d2c4d78b40af982926a0f19774 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Tue, 23 Nov 2021 09:23:29 -0800 Subject: [PATCH] Backport #430 to polysemy-plugin 0.4.1 branch --- polysemy-plugin/ChangeLog.md | 5 +++++ polysemy-plugin/package.yaml | 4 ++-- polysemy-plugin/polysemy-plugin.cabal | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/polysemy-plugin/ChangeLog.md b/polysemy-plugin/ChangeLog.md index e3fa06d..dcfa3d8 100644 --- a/polysemy-plugin/ChangeLog.md +++ b/polysemy-plugin/ChangeLog.md @@ -2,6 +2,11 @@ ## Unreleased +## 0.4.1.1 (2021-11-23) + +- Fixed a regression introduced in 0.4.1.0 where polymorphic uses of + interpreters could confuse the plugin. + ## 0.4.1.0 (2021-10-22) - The plugin can now use instances in scope to help solve ambiguous type diff --git a/polysemy-plugin/package.yaml b/polysemy-plugin/package.yaml index ed8f60d..a03913f 100644 --- a/polysemy-plugin/package.yaml +++ b/polysemy-plugin/package.yaml @@ -1,5 +1,5 @@ name: polysemy-plugin -version: 0.4.1.0 +version: 0.4.1.1 github: "polysemy-research/polysemy" license: BSD3 author: "Sandy Maguire" @@ -20,7 +20,7 @@ dependencies: - base >= 4.9 && < 5 - ghc >= 8.6.5 && < 10 - ghc-tcplugins-extra >= 0.3 && < 0.5 -- polysemy >= 1.3 +- polysemy >= 1.3 && < 1.7 - syb >= 0.7 && < 0.8 - transformers >= 0.5.2.0 && < 0.6 - containers >= 0.5 && < 0.7 diff --git a/polysemy-plugin/polysemy-plugin.cabal b/polysemy-plugin/polysemy-plugin.cabal index d7e4ff6..1164842 100644 --- a/polysemy-plugin/polysemy-plugin.cabal +++ b/polysemy-plugin/polysemy-plugin.cabal @@ -5,7 +5,7 @@ cabal-version: 2.0 -- see: https://github.com/sol/hpack name: polysemy-plugin -version: 0.4.1.0 +version: 0.4.1.1 synopsis: Disambiguate obvious uses of effects. description: Please see the README on GitHub at category: Polysemy @@ -68,7 +68,7 @@ library , containers >=0.5 && <0.7 , ghc >=8.6.5 && <10 , ghc-tcplugins-extra >=0.3 && <0.5 - , polysemy >=1.3 + , polysemy >=1.3 && <1.7 , syb ==0.7.* , transformers >=0.5.2.0 && <0.6 default-language: Haskell2010