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

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

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 05:40AM UTC
Files 439
Run time 9s
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 05:38AM UTC coverage: 91.286%. Remained the same
5502.1

push

github

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

Enable `implicit_impl_as_method` (E0079) for the `string` package and make its
trait-impl promotions explicit, in a dedicated string/extends.mbt shim (plus
inline `extend`s for test-only types).

- Promote (plain `pub extend`): `Regex`'s `Add::{add}` and `BitOr::{lor}` (the
  regex composition operators).
- Deprecate (`#deprecated(..., skip_current_package=true)` + `#doc(hidden)`):
  `Regex`'s and `MatchResult`'s `@debug.Debug::{to_repr}` (-> `Debug::to_repr`).
- Test-only types `Data` (string_unicode_test.mbt) and `StringPatternToken`
  (string_test.mbt) get inline `pub extend ... Debug::{to_repr}` (plain promote).

pkg.generated.mbti gains only `Regex::add` / `Regex::lor`. No cross-package ripple.
Part of the per-package series (see #3849 for deque). Scoped to string/.

Verified: `moon check --deny-warn --target all` clean; `moon test -p string --target all` green (263 tests).

Reviewed by Codex CLI: E0079 cleared; Regex operators promoted, Debug deprecated+hidden;
test types promoted inline; .mbti +2/-0; scoped to string/.

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

15912 of 17431 relevant lines covered (91.29%)

188744.72 hits per line

Source Files on job 5502.1
  • Tree
  • List 439
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5502
  • ea9d758e on github
  • Prev Job for on main (#5501.1)
  • Next Job for on main (#5503.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