Skip to content

Commit

Permalink
Release v0.1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Corpa committed Apr 1, 2020
1 parent dd2e60a commit 1235751
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 4 additions & 4 deletions language-avro.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ library
Language.Avro.Types

build-depends:
avro >=0.5
, base >=4.12 && <5
avro >=0.5.1
, base >=4.12 && <5
, containers
, directory
, filepath
Expand All @@ -40,8 +40,8 @@ test-suite avro-parser-haskell-test
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
avro >=0.5
, base >=4.12 && <5
avro >=0.5.1
, base >=4.12 && <5
, hspec
, hspec-megaparsec
, language-avro
Expand Down
5 changes: 0 additions & 5 deletions src/Language/Avro/Parser.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
Expand Down Expand Up @@ -233,10 +232,6 @@ parseSchema =
<$> option [] parseAliases <* (reserved "record" <|> reserved "error")
<*> parseTypeName
<*> pure Nothing -- docs are ignored for now...
#if MIN_VERSION_avro(0,5,1)
#else
<*> optional parseOrder -- FIXME: order for records is not supported yet.
#endif
<*> option [] (braces . many $ parseField)
)
<|> NamedType . toNamedType <$> lexeme (sepBy1 identifier $ char '.')
Expand Down

0 comments on commit 1235751

Please sign in to comment.