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

moonbitlang / core / 5347
91%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 10:37AM UTC
Jobs 1
Files 404
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

22 Jul 2026 10:36AM UTC coverage: 91.293%. Remained the same
5347

push

github

bobzhang
feat(immut/vector): make trait promotions explicit via extend

Enable `implicit_impl_as_method` (E0079) for the `immut/vector` package (in its
moon.pkg) and make its trait-impl promotions explicit via `extend`, in a
dedicated immut/vector/extends.mbt shim.

- Promote (plain `pub extend`): Add (+), Compare::{compare}.
- Deprecate (`#deprecated(..., skip_current_package=true)` + `#doc(hidden)`):
  @quickcheck.Arbitrary, Compare's operators (op_ge/op_gt/op_le/op_lt), Eq,
  @json.FromJson, Hash, the whole Show trait, and ToJson. Each message names the
  concrete replacement.

Only `compare` is promoted from Compare (callers use `<`/`<=`/`>=`/`>`). Vector is
a collection, so its Show is deprecated in favour of @debug.Debug. The deprecated
promotions carry #doc(hidden), so pkg.generated.mbti gains only Vector::{add,
compare}. Also migrates the blackbox test off the now-deprecated `.hash()` /
`.to_json()` (-> `Hash::hash(...)` / `@json.to_json(...)`).

Part of the per-package series (see #3849 for deque). Scoped to immut/vector/.

Verified: `moon check --deny-warn --target all` clean; `moon test -p immut/vector --target all` green.

Reviewed by Codex CLI: shim covers exactly the flagged methods, split matches
policy, all Vector .to_json()/.hash() test callers migrated (Int i.to_json() left),
.mbti gains only Vector::{add,compare}, scoped to immut/vector/.

Signed-off-by: Codex CLI <codex@openai.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

15885 of 17400 relevant lines covered (91.29%)

189078.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5347.1 22 Jul 2026 10:37AM UTC 405
91.31
GitHub Action Run
Source Files on build 5347
  • Tree
  • List 404
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2083caf5 on github
  • Prev Build on main (#5341)
  • Next Build on main (#5354)
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