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

moonbitlang / core / 4908
91%

Build:
DEFAULT BRANCH: main
Ran 30 Jun 2026 11:57AM UTC
Jobs 1
Files 382
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

30 Jun 2026 11:56AM UTC coverage: 91.315%. Remained the same
4908

push

github

bobzhang
feat(immut/sorted_map): add SortedMap constructor, deprecate from_array

Mirror the `List([...])` constructor convention for the immutable sorted
map: add `SortedMap::SortedMap(ArrayView[(K, V)]) -> SortedMap[K, V]` so a map
can be built with `@sorted_map.SortedMap([...])`, and deprecate the old
`from_array` (and its `of` alias) in favour of it.

`SortedMap` is an `enum` (`Empty` / `Tree`), so there is no constructor-name
conflict. Migrate all `@sorted_map.from_array(...)` / `from_array(...)` usages
across the package (impl, tests, README) to the new constructor. The
`Show`/`output` format string and its snapshot tests intentionally keep
emitting `@immut/sorted_map.from_array([...])`.

Found via a repo-wide scan for collections that have `from_array` but no
`Type([...])` constructor.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

15341 of 16800 relevant lines covered (91.32%)

195679.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4908.1 30 Jun 2026 11:57AM UTC 383
91.33
GitHub Action Run
Source Files on build 4908
  • Tree
  • List 382
  • Changed 5
  • Source Changed 5
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 138f2ed3 on github
  • Prev Build on main (#4906)
  • Next Build on main (#4912)
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