k0ral / xml-conduit-parse

Streaming XML parser based on conduits.
http://hackage.haskell.org/package/xml-conduit-parse
Do What The F*ck You Want To Public License
2 stars 0 forks source link

xml-conduit-parse can't compile its test suite #1

Closed peti closed 9 years ago

peti commented 9 years ago

Citing from http://hydra.cryp.to/build/925478/nixlog/1/raw:

Preprocessing test suite 'tests' for xml-conduit-parse-0.2.0.0...
[1 of 1] Compiling Main             ( test/Main.hs, dist/build/tests/tests-tmp/Main.dyn_o )

test/Main.hs:53:35:
    Couldn't match expected type ‘ConduitParser
                                    xml-types-0.3.4:Data.XML.Types.Event m t’
                with actual type ‘(text-1.2.1.1:Data.Text.Internal.Text
                                   -> Maybe a0)
                                  -> ConduitParser xml-types-0.3.4:Data.XML.Types.Event m0 a0’
    Relevant bindings include
      parser :: ConduitParser
                  xml-types-0.3.4:Data.XML.Types.Event
                  m
                  (text-1.2.1.1:Data.Text.Internal.Text, t)
        (bound at test/Main.hs:50:9)
    Probable cause: ‘content’ is applied to too few arguments
    In the second argument of ‘tagNoAttr’, namely ‘content’
    In a stmt of a 'do' block: x <- tagNoAttr "child3" content
k0ral commented 9 years ago

Fixed in https://github.com/k0ral/xml-conduit-parse/commit/a01949335330245c5df2200985472fd9ce28ed8a , I just forgot to make a release out of it. Thank you.