Skip to content

Conversation

bobzhang
Copy link
Contributor

  • 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.

…ethods

- 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.
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 549

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 90.101%

Totals Coverage Status
Change from base Build 548: -0.003%
Covered Lines: 8529
Relevant Lines: 9466

💛 - Coveralls

@bobzhang bobzhang merged commit b08d539 into main Jul 27, 2025
11 checks passed
@bobzhang bobzhang deleted the hongbo/string_get_nth_char branch July 27, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants