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

Remove Class assert for ClassTypedef. #3595

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Remove Class assert for ClassTypedef. #3595

merged 1 commit into from
Dec 8, 2023

Conversation

kallentu
Copy link
Member

@kallentu kallentu commented Dec 7, 2023

Should be the fix for the breakage in flutter/flutter#139755.

  • Renamed a bunch of tests because they bothered me and shuffled them alphabetically.
  • Removed the assert for Class and in turn, added a test for class, mixin, and extension type typedefs.

  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

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

Thanks for the fix and the test tidying

@kallentu kallentu mentioned this pull request Dec 8, 2023
1 task
@kallentu kallentu merged commit 337f40f into main Dec 8, 2023
11 checks passed
@kallentu kallentu deleted the typedef-bug branch December 8, 2023 00:10
srawlins pushed a commit to flutter/flutter that referenced this pull request Dec 8, 2023
Bumping DartDoc to 8.0.2. https://pub.dev/packages/dartdoc/changelog#802

Made a fix for #139755, so this
release rolls that fix in.
The fix was made here dart-lang/dartdoc#3595.

Not sure who's most relevant to tag so ccing some folks.
cc. @srawlins @jason-simmons @gspencergoog 

## Pre-launch Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [X] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [X] I signed the [CLA].
- [X] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
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.

2 participants