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

moonbitlang / core / 549

27 Jul 2025 07:39AM UTC coverage: 90.101% (-0.003%) from 90.104%
549

Pull #2502

github

bobzhang
refactor: migrate is_leading_surrogate/is_trailing_surrogate to Int methods

- Add Int::is_leading_surrogate() and Int::is_trailing_surrogate() methods
- Replace all function calls with method calls throughout the codebase
- Remove duplicate function definitions from builtin/string.mbt and string/utils.mbt
- Clean up unused surrogate range constants

This provides a more consistent API by making these UTF-16 surrogate checks
available as methods on the Int type itself.
Pull Request #2502: refactor: migrate is_leading_surrogate/is_trailing_surrogate to Int methods

8529 of 9466 relevant lines covered (90.1%)

227025.52 hits per line

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

96.15
/builtin/string.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