-
Notifications
You must be signed in to change notification settings - Fork 124
Mustachio: fix getter override order, and bounds bug #2523
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
Conversation
Single failure is... unrelated? Can't tell what went wrong. |
Yes that is... very strange looking. I would have expected the vm-service flag to cause problems for all the tests, not just one of them. I have pressed the retry everything button to see if it can be reproduced. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a different problem, but should we consider expanding timeouts here: https://github.com/dart-lang/dartdoc/pull/2523/checks?check_run_id=1912657126? Might help make tests less flaky on CI.
Yay tests pass. |
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
Mustachio: fix getter override order, and bounds bug Fix indentation in category.html (dart-lang#2521) WIP: flip to mustachio
There aren't any new test cases, but the existing tests would fail with the changes to foo.dart, without the other changes to the codegen.
The main fix here is to apply local getters after inherited getters, in the property map, so that they override any inherited getters.
But in creating the test situation in foo.dart, I saw we had a bug with type parameter bounds as well. This is important for real cases like
ClassTemplateData<T extends Class> extends TemplateData<T>
.