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 a ConcreteCFType trait #159

Merged
merged 1 commit into from Feb 2, 2018
Merged

Add a ConcreteCFType trait #159

merged 1 commit into from Feb 2, 2018

Conversation

jrmuizel
Copy link
Collaborator

@jrmuizel jrmuizel commented Feb 1, 2018

We'll use this to distinguish between generic and concrete CFTypes.
This lets us prevent downcast()ing to arbitrary generic types.


This change is Reviewable

We'll use this to distinguish between generic and concrete CFTypes.
This lets us prevent downcast()ing to arbitrary generic types.
@faern
Copy link
Contributor

faern commented Feb 1, 2018

I have not tested it yet, but it looks like a reasonable solution. 👍

@jdm
Copy link
Member

jdm commented Feb 2, 2018

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit ec118b3 has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit ec118b3 with merge 2e17240...

bors-servo pushed a commit that referenced this pull request Feb 2, 2018
Add a ConcreteCFType trait

We'll use this to distinguish between generic and concrete CFTypes.
This lets us prevent downcast()ing to arbitrary generic types.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/159)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: jdm
Pushing 2e17240 to master...

@bors-servo bors-servo merged commit ec118b3 into servo:master Feb 2, 2018
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.

None yet

4 participants