Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Conversation

liamappelbe
Copy link
Contributor

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-archive/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-archive/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
Contributor

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
mosuem pushed a commit to dart-lang/tools that referenced this pull request Aug 28, 2024
* Fix branch coverage test

* Ignore implicit functions in function coverage

* Add a dedicated function coverage test.

* Fix analysis

* Ignore abstract functions

* Use the new vm_service version

* Fix test

* vm_service abstract update was actually a minor version bump

* Remove deprecated analysis option

* Fix function_coverage_test on older SDKs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Function coverage considers abstract methods missed
3 participants