Bring back _isUTF16TrailingSurrogate

This commit is contained in:
Alejandro Alonso committed 2025-10-14 09:50:14 -07:00
1 parent fb59949fcc
commit 691855a60f
1 file changed
+4
@@ -106,6 +106,10 @@ extension BigString.Index {
_flags = 0
}
public var _isUTF16TrailingSurrogate: Bool {
_orderingValue & 1 != 0
}
internal func _knownScalarAligned() -> Self {
var copy = self
copy._chunkIndex = _chunkIndex.scalarAligned