Isolate deriving via test

pull/259/head
Evan Rutledge Borden 2019-11-03 21:04:42 -06:00
parent aeaa043e99
commit b2f4262749
1 changed files with 6 additions and 0 deletions

View File

@ -363,6 +363,12 @@ data Foo = Bar
deriving anyclass (Show, Eq, Monad, Functor)
deriving newtype Show
deriving newtype (Traversable, Foldable)
#test record deriving via
data Foo = Bar
{ foo :: Baz
, bars :: Bizzz
}
deriving ToJSON via (SomeType)
deriving (ToJSON, FromJSON) via (SomeType)