The Wire · Showcase
SWIFT TIGHTENS AVAILABILITY DIAGNOSTICS AS FLUTTER TRACKS SKIA UPDATES
By RepoJournal · Filed · About Mobile platforms
Swift's compiler now correctly diagnoses uses of unavailable API members in universally unavailable extensions, closing a gap that let invalid code slip through.
The Swift team shipped a pair of diagnostic fixes that tighten how the compiler catches uses of deprecated and unavailable declarations [1]. The first fix addresses a logic bug where members of universally unavailable extensions weren't being diagnosed even when they should have been [1]. A separate commit removed obsolete Swift 3 migration diagnostics that have been dead code since Swift 3 shipped years ago [2]. These weren't even testable anymore because the declarations they checked for no longer exist in the language. On the Flutter side, Skia rolled through 5 revisions including vulkan-deps updates across two commits [3]. Nothing catastrophic here, but the Vulkan dependency churn is worth monitoring if you're shipping graphics-heavy features. The standard pattern: Flutter tracks Skia obsessively, Skia tracks Vulkan, and your builds either get faster or more stable or both.
Action items
- → Review Swift compiler changes if you maintain custom availability diagnostics apple/swift [plan]
- → Monitor Skia/Vulkan updates in next Flutter stable release flutter/flutter [monitor]
References
- [1] AST: Diagnose uses of non-type members of universally unavailable extensions ↗ apple/swift
- [2] Sema: Remove obsolete Swift 3 migration availability diagnostics ↗ apple/swift
- [3] Roll Skia from 6ecffccd32d5 to 8bf65996caba (5 revisions) ↗ flutter/flutter