mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add "single extended grapheme cluster" literals (SEGCL) -- a subset of
double-quoted string literals that contain a single extended grapheme cluster SEGCL by default infer type String, but you can ask to infer Character for them. Single quoted literals continue to infer Character. Actual extended grapheme cluster segmentation is not implemented yet, <rdar://problem/16755123> Implement extended grapheme cluster segmentation in libSwiftBasic This is part of <rdar://problem/16363872> Remove single quoted characters Swift SVN r17034
This commit is contained in:
@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// Serialized module format minor version number.
|
||||
///
|
||||
/// When the format changes IN ANY WAY, this number should be incremented.
|
||||
const uint16_t VERSION_MINOR = 86;
|
||||
const uint16_t VERSION_MINOR = 88;
|
||||
|
||||
using DeclID = Fixnum<31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -1091,12 +1091,14 @@ namespace index_block {
|
||||
ArrayLiteralConvertible,
|
||||
CharacterLiteralConvertible,
|
||||
DictionaryLiteralConvertible,
|
||||
ExtendedGraphemeClusterLiteralConvertible,
|
||||
FloatLiteralConvertible,
|
||||
IntegerLiteralConvertible,
|
||||
StringInterpolationConvertible,
|
||||
StringLiteralConvertible,
|
||||
|
||||
BuiltinCharacterLiteralConvertible,
|
||||
BuiltinExtendedGraphemeClusterLiteralConvertible,
|
||||
BuiltinFloatLiteralConvertible,
|
||||
BuiltinIntegerLiteralConvertible,
|
||||
BuiltinStringLiteralConvertible,
|
||||
|
||||
Reference in New Issue
Block a user