Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgenerate unions from Typdefs inner type #11203
Conversation
highfive
commented
May 16, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 16, 2016
|
|
|
I'm stupid, I didn't commited the tidiness changes. |
highfive
commented
May 16, 2016
|
New code was committed to pull request. |
|
This still doesn't compile. |
|
I don't understand it now, it compiles on my box, I also made clean and recompiled it in debug and release, and my git status says it's clean. |
|
The error seems to be that a type of an typdef union is not defined. |
|
Huh. I wonder if there's some python caching happening on travis that isn't in local builds for some reason... |
|
I've put up my travis and removed the cache dirs and it doesn't fix it, it seems Blob is unresolved : '::Blob'. |
|
I also can't reproduce the build failure locally. This is really annoying! |
|
The fact that there are changes to WebIDL.py and that's the file that's complaining is suspicious to me. Why are the changes to that file necessary? |
|
WebIDL.py changes are used to change the way IDLUnionType are flattened, it no longer do a deep flatten but stop at IDLTypedefType. |
|
I just installed ubuntu and could reproduce it, so I will look into it. I was on Mac OS before. |
|
|
|
@amarant What's the status here? |
|
@amarant Is this still being worked on? |
|
Closing in favour of #12397. |
WebIDL update <!-- Please describe your changes on the following line: --> ~~This should help #11203~~ (no, it doesn't, but still worth it). r? @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12418) <!-- Reviewable:end -->
amarant commentedMay 16, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsEither:
It replace PR #10615 and keeps the type hierarchy with typedef.
This change is