Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add COMPLETE pragma to MAKE_VERSION #256

Closed
sheaf opened this issue Feb 5, 2021 · 0 comments · Fixed by #257
Closed

Add COMPLETE pragma to MAKE_VERSION #256

sheaf opened this issue Feb 5, 2021 · 0 comments · Fixed by #257

Comments

@sheaf
Copy link
Collaborator

sheaf commented Feb 5, 2021

Just had a build throw up the following warning:

src\Vulkan\Utils\Requirements.hs:619:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type `Word32' not matched: GHC.Word.W32# _
    |
619 |   where MAKE_VERSION ma mi pa = ver
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

I believe this would be solved with the addition of the pragma {-# COMPLETE MAKE_VERSION #-}.

expipiplus1 added a commit that referenced this issue Feb 6, 2021
expipiplus1 added a commit that referenced this issue Feb 6, 2021
- Bump API version to v1.2.169
- Add `COMPLETE` pragma to `MAKE_VERSION` pattern
  #256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant