Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove refinement from Witness.value #1240

Merged
merged 4 commits into from
Jul 20, 2022

Conversation

joroKr21
Copy link
Collaborator

@joroKr21 joroKr21 commented Feb 11, 2022

fixes #1072
fixes #1067

@joroKr21 joroKr21 self-assigned this Feb 11, 2022
@joroKr21 joroKr21 added the Bug label Feb 11, 2022
@milessabin
Copy link
Owner

Does this still preserve the singleton type?

@joroKr21
Copy link
Collaborator Author

Does this still preserve the singleton type?

Yes - we have tests for that. It's the type on the RHS of T that is the singleton. So this trick is not necessary.

@joroKr21
Copy link
Collaborator Author

How about we just release it and see if someone complains? It's binary compatible either way so easy to revert.

@milessabin
Copy link
Owner

How about we just release it and see if someone complains? It's binary compatible either way so easy to revert.

Go for it ...

@joroKr21
Copy link
Collaborator Author

Go for it ...

I can't merge it without approval 😅

@milessabin
Copy link
Owner

I can't merge it without approval 😅

Whoops! Approved now ...

Copy link
Owner

@milessabin milessabin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@joroKr21 joroKr21 merged commit 654fe58 into milessabin:main Jul 20, 2022
@joroKr21 joroKr21 deleted the witness-refinement branch July 20, 2022 09:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
2 participants