diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-12-08 12:04:31 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-12-08 12:04:31 -0700 |
commit | 8e3da156811f5901230b5ae1e61209683f793920 (patch) | |
tree | 3e6ded85f64264687063534b833439625137769c /ProtocolBuffers.hs | |
parent | baac01c49b553cf3e1564ad349bd90c0284a46dd (diff) | |
parent | 9f282483310c2ce028c507cc385e69342ad6c7bc (diff) | |
download | debug-me-8e3da156811f5901230b5ae1e61209683f793920.tar.gz |
Merge tag '1.20181208'
tagging package debug-me version 1.20181208
Diffstat (limited to 'ProtocolBuffers.hs')
-rw-r--r-- | ProtocolBuffers.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ProtocolBuffers.hs b/ProtocolBuffers.hs index e87a156..d7c7799 100644 --- a/ProtocolBuffers.hs +++ b/ProtocolBuffers.hs @@ -5,7 +5,7 @@ {-# LANGUAGE DeriveGeneric, DataKinds, MultiParamTypeClasses #-} {-# LANGUAGE FlexibleContexts, UndecidableInstances #-} -{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE OverloadedStrings, MonoLocalBinds #-} {- | Protocol buffers serialization for the debug-me wire protocol. - @@ -319,6 +319,7 @@ instance Encode a => Encode (MessageP a) -- This is why UndecidableInstances is needed. The need -- for a Monoid instance is an implementation detail of -- Data.ProtocolBuffers. +-- MonoLocalBinds is also used to avoid a ghc warning. instance (Monoid (Message a), Generic a, Decode a) => Decode (MessageP a) instance Encode a => Encode (ActivityP a) instance (Monoid (Message a), Generic a, Decode a) => Decode (ActivityP a) |