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

moonbitlang / core / 5332
91%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 09:31AM UTC
Jobs 1
Files 401
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 09:29AM UTC coverage: 91.293%. Remained the same
5332

push

github

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

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

HashMap has no methods worth keeping promoted -- the compiler flags only
@quickcheck.Arbitrary, Eq, Hash, and Show, all of which we deprecate
(`#deprecated(..., skip_current_package=true)` + `#doc(hidden)`), each message
naming the concrete replacement. HashMap is a collection, so its Show is
deprecated in favour of @debug.Debug.

They stay callable (with a deprecation warning) but are absent from
pkg.generated.mbti -- the generated interface is unchanged. Also migrates the
blackbox test off the now-deprecated `.hash()` (-> `Hash::hash(...)`).

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

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

Reviewed by Codex CLI: four extends cover exactly Arbitrary/Eq/Hash/Show (Debug
already shadowed by concrete to_repr; no Default/ToJson/operators), all deprecated
+ hidden so .mbti is byte-for-byte unchanged, all eight blackbox .hash() calls
migrated, scoped to immut/hashmap/.

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.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5332.1 22 Jul 2026 09:31AM UTC 402
91.31
GitHub Action Run
Source Files on build 5332
  • Tree
  • List 401
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 37359aa8 on github
  • Prev Build on main (#5327)
  • Next Build on main (#5334)
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