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

moonbitlang / core / 5560
91%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 11:47AM UTC
Jobs 1
Files 442
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 11:46AM UTC coverage: 91.132%. Remained the same
5560

push

github

bobzhang
refactor(bigint)!: promote `shl`/`shr`, drop `asr`/`lsl`

`BigInt::shl` and `BigInt::shr` were hand-written deprecated wrappers that just
forwarded to `<<` / `>>`. Per AGENTS.md the shift operators are promoted on
every type, so replace both with `pub extend BigInt with Shl::{shl}` /
`Shr::{shr}` in `extends.mbt`, alongside the other operator promotions. Their
signatures are unchanged (`(Self, Int) -> Self`); they simply stop warning.

`BigInt::asr` and `BigInt::lsl` have no trait to promote to — `>>` and `<<` are
spelled `Shr::shr` / `Shl::shl` — so they are removed rather than kept as
wrappers.

The promotions go in `extends.mbt`, not `deprecated.mbt`: they are blessed
public API, matching `int16/extends.mbt` and `builtin/extends.mbt`. Placement is
interface-neutral — `bigint/pkg.generated.mbti` is identical either way.

BREAKING CHANGE: `BigInt::asr` and `BigInt::lsl` are removed. Use `>>` and `<<`.

No references to either remain in core.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

15640 of 17162 relevant lines covered (91.13%)

191700.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5560.1 25 Jul 2026 11:47AM UTC 443
91.15
GitHub Action Run
Source Files on build 5560
  • Tree
  • List 442
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 53d77be0 on github
  • Prev Build on main (#5558)
  • Next Build on main (#5564)
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