alphaHeavy / protobuf

An implementation of Google's Protocol Buffers in Haskell.
http://hackage.haskell.org/package/protobuf
BSD 3-Clause "New" or "Revised" License
95 stars 18 forks source link

testCase import ambiguity #35

Closed clinty closed 6 years ago

clinty commented 6 years ago
tests/Main.hs:67:5: error:
    Ambiguous occurrence `testCase'
    It could refer to either `Test.QuickCheck.Property.testCase',
                             imported from `Test.QuickCheck.Property' at tests/Main.hs:16:1-31
                          or `Test.Tasty.HUnit.testCase',
                             imported from `Test.Tasty.HUnit' at tests/Main.hs:18:1-23
NathanHowell commented 6 years ago

Can you add the compiler and package versions? I'd like to update the Travis build matrix.

clinty commented 6 years ago
Configuring protobuf-0.2.1.1...
Dependency HUnit >=1.2: using HUnit-1.6.0.0
Dependency QuickCheck >=2.4: using QuickCheck-2.10.1
Dependency base >=4.7 && <5: using base-4.10.1.0
Dependency base-orphans >=0.5: using base-orphans-0.7
Dependency bytestring >=0.9: using bytestring-0.10.8.2
Dependency cereal >=0.3: using cereal-0.5.5.0
Dependency containers -any: using containers-0.5.10.2
Dependency data-binary-ieee754 >=0.4: using data-binary-ieee754-0.4.4
Dependency deepseq >=1.1: using deepseq-1.4.3.0
Dependency hex -any: using hex-0.1.2
Dependency mtl ==2.*: using mtl-2.2.2
Dependency protobuf -any: using protobuf-0.2.1.1
Dependency tagged -any: using tagged-0.8.5
Dependency tasty -any: using tasty-1.0.1.1
Dependency tasty-hunit -any: using tasty-hunit-0.10.0.1
Dependency tasty-quickcheck -any: using tasty-quickcheck-0.9.2
Dependency text >=0.10: using text-1.2.3.0
Dependency unordered-containers >=0.2: using unordered-containers-0.2.9.0
Source component graph:
    component lib
    component test:protobuf-test dependency lib
Configured component graph:
    component protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        include base-4.10.1.0
        include base-orphans-0.7-CqEfBQ2VoSwBto5sloaJI4
        include bytestring-0.10.8.2
        include cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        include data-binary-ieee754-0.4.4-F3YRhJd3kvlDf64vOl9RIA
        include deepseq-1.4.3.0
        include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
    component protobuf-0.2.1.1-JpDZonTqVzJ2KS8Y83gf9t-protobuf-test
        include base-4.10.1.0
        include bytestring-0.10.8.2
        include cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        include containers-0.5.10.2
        include hex-0.1.2-AllHVS4BjcTL84apaW6a0z
        include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        include protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        include tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
        include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
        include tasty-1.0.1.1-EAO6bZKZA3VIwwVVTRyBgP
        include tasty-hunit-0.10.0.1-LIH283DuuhGJVpsIOW3Zay
        include tasty-quickcheck-0.9.2-HzvfCndECc6DGjP61MorfP
        include HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
        include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
Linked component graph:
    unit protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        include base-4.10.1.0
        include base-orphans-0.7-CqEfBQ2VoSwBto5sloaJI4
        include bytestring-0.10.8.2
        include cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        include data-binary-ieee754-0.4.4-F3YRhJd3kvlDf64vOl9RIA
        include deepseq-1.4.3.0
        include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
        Data.ProtocolBuffers=protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg:Data.ProtocolBuffers,Data.ProtocolBuffers.Internal=protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg:Data.ProtocolBuffers.Internal,Data.ProtocolBuffers.Orphans=protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg:Data.ProtocolBuffers.Orphans
    unit protobuf-0.2.1.1-JpDZonTqVzJ2KS8Y83gf9t-protobuf-test
        include base-4.10.1.0
        include bytestring-0.10.8.2
        include cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        include containers-0.5.10.2
        include hex-0.1.2-AllHVS4BjcTL84apaW6a0z
        include mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        include protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        include tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
        include text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        include unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
        include tasty-1.0.1.1-EAO6bZKZA3VIwwVVTRyBgP
        include tasty-hunit-0.10.0.1-LIH283DuuhGJVpsIOW3Zay
        include tasty-quickcheck-0.9.2-HzvfCndECc6DGjP61MorfP
        include HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
        include QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
Ready component graph:
    definite protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        depends base-4.10.1.0
        depends base-orphans-0.7-CqEfBQ2VoSwBto5sloaJI4
        depends bytestring-0.10.8.2
        depends cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        depends data-binary-ieee754-0.4.4-F3YRhJd3kvlDf64vOl9RIA
        depends deepseq-1.4.3.0
        depends mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        depends text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
    definite protobuf-0.2.1.1-JpDZonTqVzJ2KS8Y83gf9t-protobuf-test
        depends base-4.10.1.0
        depends bytestring-0.10.8.2
        depends cereal-0.5.5.0-LlCRTX2XyPnC6qdZ6C2b02
        depends containers-0.5.10.2
        depends hex-0.1.2-AllHVS4BjcTL84apaW6a0z
        depends mtl-2.2.2-8XubxMJDT8QLsstvlNotkc
        depends protobuf-0.2.1.1-4kavVyjWH5L5EzyqGTdlSg
        depends tagged-0.8.5-IIuh7r2smYhFbQwFl7NwOI
        depends text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5
        depends unordered-containers-0.2.9.0-2cpX8QUlMblur6Te9dnfe
        depends tasty-1.0.1.1-EAO6bZKZA3VIwwVVTRyBgP
        depends tasty-hunit-0.10.0.1-LIH283DuuhGJVpsIOW3Zay
        depends tasty-quickcheck-0.9.2-HzvfCndECc6DGjP61MorfP
        depends HUnit-1.6.0.0-Co0VFs8PjIYJtvd3iwPPg
        depends QuickCheck-2.10.1-4Os66uOJMCzBKiZgTbIvyk
Using Cabal-2.0.1.0 compiled by ghc-8.2
Using compiler: ghc-8.2.2
NathanHowell commented 6 years ago

Should be fixed now