Avatar
norio_nomura 2/1/2019 12:02 AM
https://discordapp.com/channels/291054398077927425/291054454793306112/539692829606281243 encodedOffsetdeprecatedにする提案をswift-5.0-RELEASEへ入れるには遅すぎた、という結論へ至ったらしい。まあ仕方ない。 https://forums.swift.org/t/se-0241-explicit-encoded-offsets-for-string-indices/19929/36 (edited)
The original proposal sought to solve 3 problems: SE-0180’s encodedOffset, meant for serialization purposes, needs to be parameterized over the encoding in which the string will be serialized in Existing uses of encodedOffset need a semantics-preserving off-ramp for Swift...
😍 1