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

moonbit-community / cmark.mbt / 424

05 Dec 2025 06:57AM UTC coverage: 86.324% (-0.03%) from 86.353%
424

push

github

peter-jerry-ye
Fix deprecation warnings for string indexing

- Replace s[idx] with s.code_unit_at(idx) which returns UInt16
- Replace @string.View with StringView
- Replace write_substring with write_view
- Handle type conversions for UInt16 comparisons
- Fix rev_inplace() to rev_in_place()

This addresses the deprecation warnings from the MoonBit standard library
update where string indexing now returns UInt16 instead of Int.

Co-authored-by: openhands <openhands@all-hands.dev>

89 of 92 new or added lines in 7 files covered. (96.74%)

2 existing lines in 1 file now uncovered.

2304 of 2669 relevant lines covered (86.32%)

1174.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.71
/src/cmark/block_struct.mbt


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc