Skip to content

Wrong coverage in mixins #49887

Closed
Closed
@tsinis

Description

@tsinis

Hey Dart Team!

Coverage calculation has changed since 2.18 and is no longer calculating coverage on mixins. Please check by yourself at https://github.com/tsinis/mixins_tests_bug

Just run tests with the coverage flag and you will find out that the CoverageBug mixin is not covered even though it's the same as CoverageOk class. It was introduced in Dart 2.18. Thanks!

  • Dart SDK version: 2.18.0 (stable)
  • MacOSX (12.5.1 (21G83)) with M1 CPU

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.cherry-pick-candidateCandidates to be cherry-picked

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions