awakesecurity / proto3-suite

Haskell Protobuf Implementation
https://hackage.haskell.org/package/proto3-suite
Other
80 stars 55 forks source link

Fix compilation error when swagger is disabled #239

Closed TristanCacqueray closed 1 year ago

TristanCacqueray commented 1 year ago

When building without the swagger flag, this change fixes the following error:

src/Proto3/Suite/DotProto/Generate.hs:792:46: error: [GHC-39999] • Could not deduce ‘Functor f0’ arising from a use of ‘<$>’ from the context: MonadError CompileError m