mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-21 23:56:55 +02:00
change behaviour of auto-deriver
This commit is contained in:
@@ -11,7 +11,7 @@ deriveObject ''T
|
||||
|
||||
data U
|
||||
= C { c1 :: Int, c2 :: String }
|
||||
| D { d1 :: Double }
|
||||
| D { z1 :: Double }
|
||||
deriving (Show, Eq)
|
||||
|
||||
deriveObject ''U
|
||||
|
Reference in New Issue
Block a user