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

moonbitlang / core / 5484 / 1
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 04:17AM UTC
Files 433
Run time 8s
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

23 Jul 2026 04:15AM UTC coverage: 91.307% (-0.001%) from 91.308%
5484.1

push

github

bobzhang
feat(strconv): make trait promotions explicit via extend

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

Both Decimal and StrConvError have a genuine (non-deprecated) Show, so their Show
is split:
- Promote (plain `pub extend`): Decimal Show::{to_string}, StrConvError
  Show::{to_string}.
- Deprecate (`#deprecated(..., skip_current_package=true)` + `#doc(hidden)`):
  Decimal/StrConvError @debug.Debug and Show::{output}.

Decimal previously had a hand-written `fn Decimal::to_string(self) {
Show::to_string(self) }` that merely delegated to the trait; that redundant method
is removed in favour of the `pub extend Decimal with Show::{to_string}` promotion
(the public API is unchanged -- Decimal::to_string is still exposed).
pkg.generated.mbti gains Decimal::to_string and StrConvError::to_string.

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

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

Reviewed by Codex CLI: the extend-based refactor is behavior-preserving (public
Decimal::to_string unchanged), no E4056 remains, coverage/scope correct.

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

15913 of 17428 relevant lines covered (91.31%)

188776.6 hits per line

Source Files on job 5484.1
  • Tree
  • List 433
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5484
  • 62090b78 on github
  • Prev Job for on main (#5480.1)
  • Next Job for on main (#5485.1)
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