ede icon indicating copy to clipboard operation
ede copied to clipboard

Incorrect bounds on prettyprinter-ansi-terminal

Open phlummox opened this issue 2 years ago • 0 comments

Version of ED-E used:

  • 0.3.3.0 (not sure which commit this refers to, as there doesn't seem to be a 0.3.3.0 tag in the repository; but the incorrect bound is definitely present as at 6d62d1f)

Description of issue:

The .cabal file for ED-E gives the bounds on prettyprinter-ansi-terminal as ">=1.1":

https://github.com/brendanhay/ede/blob/6d62d1f38c4d5cc07cf392dcc9c76f56598afcde/ede.cabal#L84

However, Text.EDE.Internal.Types attempts to import Prettyprinter.Render.Terminal, and such a module has only existed in prettyprinter-ansi-terminal since version 1.1.2:

https://github.com/brendanhay/ede/blob/6d62d1f38c4d5cc07cf392dcc9c76f56598afcde/lib/Text/EDE/Internal/Types.hs#L43

Compilation will therefore fail against some versions of prettyprinter-ansi-terminal (namely 1.1, 1.1.1, 1.1.1.1 and 1.1.1.2) that the ED-E .cabal file claims are compatible.

phlummox avatar Jun 11 '22 12:06 phlummox