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

Ignore abstract methods #412

Merged
merged 14 commits into from
Jul 25, 2022
Merged

Ignore abstract methods #412

merged 14 commits into from
Jul 25, 2022

Conversation

liamappelbe
Copy link
Contributor

Fixes #398

copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jul 13, 2022
The required keyword means that adding a field to a class is a breaking
change, and needs a major version bump instead of a minor one. All the
fields are already nullable, and the constructors all use named
parameters, so removing this keyword is a minor (non-breaking) change.

Bug: dart-lang/coverage#412
Bug: https://buganizer.corp.google.com/issues/236964692
Change-Id: I410d0f4359c003696570dfb11e3e2f7f179fb9ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251443
Commit-Queue: Liam Appelbe <liama@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Jul 15, 2022
This reverts commit 9b02bda.

With https://dart-review.googlesource.com/c/sdk/+/251443 this is a
non-breaking change.

Bug: dart-lang/coverage#412
Change-Id: Iaa8a74ab8065380d2a7e8a8fc07fec3a4518d979
TEST=Added to get_object_rpc_test.dart
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251480
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
@kevmoo
Copy link
Member

kevmoo commented Jul 20, 2022

Looks like we'll have to drop Dart 2.15?

@liamappelbe liamappelbe marked this pull request as ready for review July 20, 2022 20:27
@liamappelbe
Copy link
Contributor Author

Looks like we'll have to drop Dart 2.15?

No, it's fine. Just need to make that test conditional. We already have a few tests that do different things on different versions.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.871% when pulling efb5472 on abstract into 7574815 on master.

@liamappelbe liamappelbe requested a review from kevmoo July 25, 2022 15:13
@liamappelbe liamappelbe merged commit 6a6fc15 into master Jul 25, 2022
@liamappelbe liamappelbe deleted the abstract branch July 25, 2022 15:47
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.

Function coverage considers abstract methods missed
3 participants