Created
December 12, 2022 14:48
-
-
Save dminuoso/f4025f0d06d685f3f2104a6c65b5a7ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
freyja-api-swagger-lib/Data/Swagger/Deriving.hs:43:10: error: | |
• Could not deduce (Typeable t) | |
arising from the superclasses of an instance declaration | |
from the context: (SwaggerOptions t, Generic a, GToSchema (Rep a)) | |
bound by the instance declaration | |
at freyja-api-swagger-lib/Data/Swagger/Deriving.hs:43:10-88 | |
Possible fix: | |
add (Typeable t) to the context of the instance declaration | |
• In the instance declaration for ‘ToSchema (CustomSchema t a)’ | |
| | |
43 | instance (SwaggerOptions t, Generic a, GToSchema (Rep a)) => ToSchema (CustomSchema t a) where | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment