bmillwood / haskell-src-meta

Maintenance of Matt Morrow's package for parsing haskell source to a TH AST.
27 stars 51 forks source link

update the th-orphans dependency #49

Closed ababkin closed 8 years ago

ababkin commented 9 years ago

Was getting this error when compiling my project:

[1 of 1] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/dist-sandbox-e46b1f0e/build/Language/Haskell/TH/Instances.o )

src/Language/Haskell/TH/Instances.hs:142:10:
    Duplicate instance declarations:
      instance Lift Natural
        -- Defined at src/Language/Haskell/TH/Instances.hs:142:10
      instance Lift Natural -- Defined in ‘Numeric.Natural’
cabal: Error: some packages failed to install:
haskell-src-meta-0.6.0.11 depends on th-orphans-0.12.2 which failed to
install.

upgraded the th-orphans dependency to 0.13 and the error is gone

have a strong feeling the error was resolved by this commit: https://github.com/mgsloan/th-orphans/commit/9372ff773d1f6c92397ba251fc92aae755bb7e77

mainland commented 8 years ago

The th-orphans upper bound has been bumped.