File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1070,7 +1070,8 @@ extension Unicode.Scalar.Properties {
1070
1070
/// [Unicode Standard](http://www.unicode.org/versions/latest/).
1071
1071
public var generalCategory : Unicode . GeneralCategory {
1072
1072
let rawValue = __swift_stdlib_UCharCategory (
1073
- UInt32 ( __swift_stdlib_u_getIntPropertyValue (
1073
+ __swift_stdlib_UCharCategory. RawValue (
1074
+ __swift_stdlib_u_getIntPropertyValue (
1074
1075
icuValue, __swift_stdlib_UCHAR_GENERAL_CATEGORY) ) )
1075
1076
return Unicode . GeneralCategory ( rawValue: rawValue)
1076
1077
}
@@ -1347,7 +1348,8 @@ extension Unicode.Scalar.Properties {
1347
1348
/// [Unicode Standard](http://www.unicode.org/versions/latest/).
1348
1349
public var numericType : Unicode . NumericType ? {
1349
1350
let rawValue = __swift_stdlib_UNumericType (
1350
- UInt32 ( __swift_stdlib_u_getIntPropertyValue (
1351
+ __swift_stdlib_UNumericType. RawValue (
1352
+ __swift_stdlib_u_getIntPropertyValue (
1351
1353
icuValue, __swift_stdlib_UCHAR_NUMERIC_TYPE) ) )
1352
1354
return Unicode . NumericType ( rawValue: rawValue)
1353
1355
}
You can’t perform that action at this time.
0 commit comments