I get the following error now in the code generated by Aeson.TH:
src\Language\Clafer\Intermediate\Intclafer.hs:392:3:
Couldn't match expected type `Data.Text.Internal.Text'
with actual type `Data.ByteString.Builder.Internal.Builder'
In the first argument of `(Data.Aeson..=)', namely
`aeson-0.10.0.0:Data.Aeson.Encode.Builder.text
(Data.Text.pack "gcard")'
In the first argument of `(<$>)', namely
`(aeson-0.10.0.0:Data.Aeson.Encode.Builder.text
(Data.Text.pack "gcard")
Data.Aeson..=)'
src\Language\Clafer\Intermediate\Intclafer.hs:400:3:
Couldn't match expected type `Data.Text.Internal.Text'
with actual type `Data.ByteString.Builder.Internal.Builder'
In the first argument of `(Data.Aeson..=)', namely
`aeson-0.10.0.0:Data.Aeson.Encode.Builder.text
(Data.Text.pack "iType")'
In the first argument of `(<$>)', namely
`(aeson-0.10.0.0:Data.Aeson.Encode.Builder.text
(Data.Text.pack "iType")
Data.Aeson..=)'
the fields gcard and iType are
, _gcard :: Maybe IGCard
and
_iType :: Maybe IType.
The error occurs on line 392 and line 400.
I get the following error now in the code generated by Aeson.TH:
the fields
gcardandiTypeare, _gcard :: Maybe IGCardand
_iType :: Maybe IType.The error occurs on line 392 and line 400.