Skip to content

switch cond order, Color before Bitmap-Pattern #2

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

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

AlexKnauth
Copy link
Contributor

This adds a predicate color? for the Color type, and uses that predicate to distinguish Color from Bitmap-Pattern, instead of using the bitmap-pattern? opaque-type predicate imported by unsafe-require/typed/provide in unsafe/source.rkt.

This change is related to the Typed Racket pull request racket/typed-racket#882, which fixes an unsoundness in opaque-type predicates. This change allows this code to typecheck after the unsoundness is fixed.

@wargrey wargrey merged commit 3d2f9a0 into wargrey:master Jul 11, 2020
@AlexKnauth AlexKnauth deleted the opaque-positive-predicate branch July 11, 2020 03:54
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 this pull request may close these issues.

2 participants