@@ -354,27 +354,27 @@ extension Unicode.BinaryProperty {
354354 case . diacratic: // spelling?
355355 return consumeScalarProp ( \. isDiacritic)
356356 case . emojiModifierBase:
357- if #available( macOS 10 . 12 . 2 , * ) {
357+ if #available( macOS 10 . 12 . 2 , iOS 10 . 2 , tvOS 10 . 1 , watchOS 3 . 1 . 1 , * ) {
358358 return consumeScalarProp ( \. isEmojiModifierBase)
359359 } else {
360360 throw unsupported ( " isEmojiModifierBase on old OSes " )
361361 }
362362 case . emojiComponent:
363363 break
364364 case . emojiModifier:
365- if #available( macOS 10 . 12 . 2 , * ) {
365+ if #available( macOS 10 . 12 . 2 , iOS 10 . 2 , tvOS 10 . 1 , watchOS 3 . 1 . 1 , * ) {
366366 return consumeScalarProp ( \. isEmojiModifier)
367367 } else {
368368 throw unsupported ( " isEmojiModifier on old OSes " )
369369 }
370370 case . emoji:
371- if #available( macOS 10 . 12 . 2 , * ) {
371+ if #available( macOS 10 . 12 . 2 , iOS 10 . 2 , tvOS 10 . 1 , watchOS 3 . 1 . 1 , * ) {
372372 return consumeScalarProp ( \. isEmoji)
373373 } else {
374374 throw unsupported ( " isEmoji on old OSes " )
375375 }
376376 case . emojiPresentation:
377- if #available( macOS 10 . 12 . 2 , * ) {
377+ if #available( macOS 10 . 12 . 2 , iOS 10 . 2 , tvOS 10 . 1 , watchOS 3 . 1 . 1 , * ) {
378378 return consumeScalarProp ( \. isEmojiPresentation)
379379 } else {
380380 throw unsupported ( " isEmojiPresentation on old OSes " )
0 commit comments