We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f0e48 commit 57f92e2Copy full SHA for 57f92e2
src/Data/Aeson/TH.hs
@@ -421,7 +421,7 @@ sumToValue target opts multiCons nullary conName value pairs
421
content = pairs contentsFieldName
422
in fromPairsE $
423
if nullary then tag else infixApp tag [|(Monoid.<>)|] content
424
- TaggedFlatObject {} -> error "impossible"
+ TaggedFlatObject {} -> error "TaggedFlatObject: Should be handled already"
425
ObjectWithSingleField ->
426
objectE [(conString opts conName, value)]
427
UntaggedValue | nullary -> conStr target opts conName
0 commit comments