Closed alt-romes closed 1 month ago
I realise now that these sources may be autogenerated. Where could I do this change correctly @expipiplus1 ?
@alt-romes Reading the code, I think I found the line that need to change. https://github.com/expipiplus1/vulkan/blob/474ea9dbf4ad36af4afc59d792ffe68549bb46b0/generate-new/src/Render/Spec/Extends.hs#L187-L195
@dpwiz I've updated this patch to change the bindings generation code. The CI failures look unrelated to this patch.
Fixes an hs-boot file which had an incorrect forward declaration of a closed type family. vulkan would successfully compile despite the hs-boot error with 9.8.1, but not with 9.8.2 because of bug fixes which makes the compiler now reject this invalid program.
We need to use the weird
type family A x where ..
(with two literal dots afterwhere
) to declare the type family in the boot file.