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

moonbitlang / core / 5554
91%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 09:46AM UTC
Jobs 1
Files 443
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

25 Jul 2026 09:45AM UTC coverage: 91.132% (-0.1%) from 91.256%
5554

push

github

bobzhang
refactor(debug): deprecate free `to_repr`, migrate call sites to `Repr(x)`

Follows the `Repr(x)` constructor: `to_repr` is now
`#as_free_fn(deprecated="Use `Repr(x)` instead")`, and every call site is
migrated.

Spelling follows normal prelude scoping — core's own library/whitebox code sits
below prelude in the dep graph and never gets its re-exports:

- user code, blackbox tests, and packages that already have `Repr` in scope:
  `Repr(x)`
- the two places that don't (`bigint/bigint_nonjs_wbtest.mbt`,
  `lazy_list/debug.mbt`): `@debug.Repr(x)`

The `#deprecated` messages on the per-package `X::to_repr` wrappers are updated
from "use `to_repr(a)`" to "use `Repr(a)`" so they point at the surviving
spelling.

Prelude keeps re-exporting `to_repr` (with `#warnings("-deprecated")` at the
re-export) so existing user code gets a deprecation warning and a migration path
rather than an unbound identifier.

Verified: `moon check --deny-warn --target all` clean; `moon test --target all`
green (6785/6785/6741/6696).

44 of 47 new or added lines in 27 files covered. (93.62%)

15640 of 17162 relevant lines covered (91.13%)

191700.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.82
0.0% bytes/internal/regex_engine/ast/pattern.mbt
1
92.75
-0.4% debug/debug.mbt
1
89.74
0.0% string/regex.mbt
Jobs
ID Job ID Ran Files Coverage
1 5554.1 25 Jul 2026 09:46AM UTC 444
91.15
GitHub Action Run
Source Files on build 5554
  • Tree
  • List 443
  • Changed 32
  • Source Changed 32
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c2fb8b6e on github
  • Prev Build on main (#5551)
  • Next Build on main (#5556)
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