Skip to content

Commit

Permalink
Builds with 8.2.1. Fixes #95
Browse files Browse the repository at this point in the history
  • Loading branch information
albertov committed May 26, 2017
1 parent 73c4c77 commit 3ed9503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Data/Swagger/Internal/Schema.hs
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ gdeclareNamedSumSchema opts proxy s

type AllNullary = All

class GSumToSchema f where
class GSumToSchema (f :: * -> *) where
gsumToSchema :: SchemaOptions -> proxy f -> Schema -> WriterT AllNullary (Declare (Definitions Schema)) Schema

instance (GSumToSchema f, GSumToSchema g) => GSumToSchema (f :+: g) where
Expand Down
2 changes: 1 addition & 1 deletion swagger2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ library
Data.Swagger.Internal.ParamSchema
Data.Swagger.Internal.Utils
Data.Swagger.Internal.AesonUtils
build-depends: base >=4.7 && <4.10
build-depends: base >=4.7 && <4.11
, base-compat >=0.9.1 && <0.10
, aeson >=0.11.2.1
, bytestring
Expand Down

0 comments on commit 3ed9503

Please sign in to comment.