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

moonbitlang / core / 6892
89%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 09:45AM UTC
Jobs 1
Files 454
Run time 2min
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

28 Sep 2026 09:42AM UTC coverage: 89.433%. Remained the same
6892

push

github

web-flow
style: write scalar literals as T(x) instead of (x : T) (#4331)

Extends the Float(x) cleanup to the other scalar types with an identity
constructor (T::T(self : T) -> T = "%identity"): Int16, Int64, UInt,
UInt16, UInt64, Byte, Int and Double. As with Float, the constructor's
parameter type makes the literal a T directly, exactly like the
annotation, so this is a pure spelling change.

322 numeric- and char-literal annotations in 27 files, plus one
redundant annotation on an already-suffixed literal ((0U : UInt) -> 0U)
dropped outright. Parameter lists
are untouched, and so is the literal form (1 : Json), since Json(x) goes
through ToJson.

Exception: inside builtin's own library and whitebox sources, the
constructor syntax does not resolve for Byte, UInt, UInt16 and UInt64
("value identifier UInt16 is unbound"), though it does for Int16, Int64,
Double and Float and for all of them from other packages. Those four
keep the annotation there; builtin's doc tests and blackbox tests, which
compile as a separate package, use the constructor.

No .mbti change and no snapshot change on any target.

Codex review (2 rounds): round 1 found the skipped (0U : UInt); round 2
approved.

Signed-off-by: Codex CLI <codex@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

12 of 16 new or added lines in 7 files covered. (75.0%)

16673 of 18643 relevant lines covered (89.43%)

333308.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% v128/simd_int_arith.mbt
1
64.04
0.0% v128/simd_memory.mbt
Jobs
ID Job ID Ran Files Coverage
1 6892.1 28 Sep 2026 09:45AM UTC 454
89.43
GitHub Action Run
Source Files on build 6892
  • Tree
  • List 454
  • Changed 11
  • Source Changed 11
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b2ce84e3 on github
  • Prev Build on main (#6889)
  • Next Build on main (#6894)
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