• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 22364358599
79%

Build:
DEFAULT BRANCH: main
Ran 24 Feb 2026 06:30PM UTC
Jobs 7
Files 283
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Feb 2026 06:23PM UTC coverage: 78.893% (+0.02%) from 78.876%
22364358599

push

github

web-flow
[record_use] Public API deal with non-const (#3147)

This is not the final API yet, but the current internal API addresses some issues with the public API. So lets remove the old public API.

Closes:

* https://github.com/dart-lang/native/issues/2718
* https://github.com/dart-lang/native/issues/2938

The main design approach of using the new API, deep destructuring in a switch, and giving an error that you cannot tree-shake on failing to destructure:

```dart
      switch (call) {
        case CallWithArguments(
          positionalArguments: [StringConstant(value: final english), ...],
        ):
          // Shrink a translations file based on all the different translation
          // keys.
          print('Translating to pirate: $english');
        case _:
          throw UnsupportError('Cannot determine which translations are used.');
      }
```

```dart
      switch (ship) {
        case InstanceConstantReference(
          instanceConstant: InstanceConstant(
            fields: {'name': StringConstant(value: final name)},
          ),
        ):
          // Include the 3d model for this ship in the application but not
          // bundle the other ships.
          print('Pirate ship found: $name');
        case _:
          throw UnsupportedError('Cannot determine which ships are used.');
      }
```

17351 of 21993 relevant lines covered (78.89%)

30.38 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
5 native_pkgs_windows 22364358599.5 24 Feb 2026 06:37PM UTC 87
72.8
GitHub Action Run
6 native_pkgs_ubuntu 22364358599.6 24 Feb 2026 06:30PM UTC 87
70.62
GitHub Action Run
7 native_pkgs_macos 22364358599.7 24 Feb 2026 06:30PM UTC 87
71.37
GitHub Action Run
6 jnigen 22334978117.6 24 Feb 2026 03:22AM UTC 20
91.49
GitHub Action Run
2 swift2objc 22081668514.2 17 Feb 2026 12:34AM UTC 52
93.04
GitHub Action Run
5 objective_c 22299204943.5 23 Feb 2026 09:02AM UTC 92
80.47
GitHub Action Run
7 jni 22334978117.7 24 Feb 2026 03:15AM UTC 32
67.78
GitHub Action Run
Source Files on build 22364358599
  • Tree
  • List 283
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22364358599
  • 4cbd204a on github
  • Prev Build on main (#22344374298)
  • Next Build on main (#22366322510)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc