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

moonbitlang / core / 6795
89%

Build:
DEFAULT BRANCH: main
Ran 25 Sep 2026 09:24AM UTC
Jobs 1
Files 448
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

25 Sep 2026 09:22AM UTC coverage: 89.711% (-0.001%) from 89.712%
6795

push

github

web-flow
refactor(list): deprecate List::new / empty in favour of List([]) (#4289)

`List::new()` (with its `empty` alias and the `@list.new()` /
`@list.empty()` free functions) only returns the empty list. Unlike the
immutable maps and sets, where `new()` avoids the `Hash`/`Compare`
bound that `T([])` needs, `List(xs : ArrayView[A])` has no bound, so
`List([])` works everywhere `new()` does and follows the `T(xs)`
constructor convention. (`Empty` is not an option outside the package:
`List` is a read-only enum.)

Move `new` to deprecated.mbt, deprecate the method, the `empty` alias
and both free-function forms with "Use `List([])` instead", and migrate
in-repo callers.

Part of #4272.
Codex review: approved; follow-up applied (the `@list.default`
deprecation message now points to `List([])`).

Signed-off-by: Codex CLI <codex@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

3 of 3 new or added lines in 3 files covered. (100.0%)

16497 of 18389 relevant lines covered (89.71%)

322292.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6795.1 25 Sep 2026 09:24AM UTC 448
89.71
GitHub Action Run
Source Files on build 6795
  • Tree
  • List 448
  • Changed 5
  • Source Changed 5
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 94a30f6d on github
  • Prev Build on main (#6792)
  • Next Build on main (#6797)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc