Skip to content

Don't assume that base classes are already resolved. #360

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 5 commits into from
Dec 23, 2016

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Dec 23, 2016

Since it may not be the case.

Fixes #359

Also fixes a few other test cases in the codebase that had the wrong namespace relationship.

r? @fitzgen

@emilio
Copy link
Contributor Author

emilio commented Dec 23, 2016

PSA stylo people (@heycam, @upsuper, @bholley, @Manishearth), this is likely to produce a more-noisy-than-usual bindings update, since we parse stuff in different order.

But I've verified this doesn't break anything in stylo.

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Great! Thanks @emilio :)

@@ -17,13 +18,13 @@
#![allow(non_upper_case_globals)]

#[macro_use]
#[allow(unused_extern_crates)]
Copy link
Member

Choose a reason for hiding this comment

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

It still warns here despite #[macro_use] and our macro usage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's a known false positive from that lint.

@fitzgen
Copy link
Member

fitzgen commented Dec 23, 2016

@bors-servo r+

@bors-servo
Copy link

📌 Commit b93faf9 has been approved by fitzgen

@bors-servo
Copy link

⚡ Test exempted - status

@bors-servo bors-servo merged commit b93faf9 into rust-lang:master Dec 23, 2016
bors-servo pushed a commit that referenced this pull request Dec 23, 2016
Don't assume that base classes are already resolved.

Since it may not be the case.

Fixes #359

Also fixes a few other test cases in the codebase that had the wrong namespace relationship.

r? @fitzgen
@emilio emilio deleted the base branch December 23, 2016 17:55
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.

bindgen generates duplicate definitions
4 participants