$ the-wire · showcase
Flutter fixes web server race condition, Swift enables lifetime dependencies on let properties
By RepoJournal · Filed · About Mobile platforms
Flutter addresses a web-server race that could crash DWDS, Swift enables lifetime dependencies on let stored properties, and Kotlin advances diagnostics abstraction in the Analysis API.
Flutter's web server now pauses requests until initial compilation finishes, preventing DWDS from reading null module metadata during `flutter run -d web-server` launches [1]. Android license detection now handles cmdline-tools 23.0+, which deprecated `sdkmanager --licenses` in favor of the `android` CLI [2]. Flutter also shares common Linux window controller code in mixins, consolidating the regular, dialog, tooltip, and popup controllers [3]. Swift now enables dependencies on `let` stored properties of class instances, marking the dependency of a non-escapable type like `Span` on the originating instance [4]. The Swift compiler also prevents narrowing platform availability restrictions outside the `anyAppleOS` domain, fixing a regression from an earlier pull request [5]. Kotlin's Analysis API now treats local typealiases, receiver parameters, and destructuring declarations as PSI-only symbols, improving symbol restoration consistency [6]. The Kotlin compiler dropped `KtPsiDiagnostic` in favor of regular diagnostics, abstracting diagnostics from source element types [7].
Action items
- → Test Flutter web-server launches with DWDS after this change to avoid race conditions flutter/flutter [monitor]
- → Verify Android SDK cmdline-tools 23.0+ workflows with the new license detection flutter/flutter [plan]
- → Review downstream code relying on platform availability narrowing behavior apple/swift [monitor]
- → Update Kotlin Analysis API consumers for PSI-only symbol restoration changes JetBrains/kotlin [plan]
References
- [1] [tool] Migrate SymbolizeCommand to modular dependency injection (#190744) ↗ flutter/flutter
- [2] Fix Android license detection for cmdline-tools 23.0+ (#191554) ↗ flutter/flutter
- [3] Update scheduled workflow for more tasks, add goldctl update (#191991) ↗ flutter/flutter
- [4] Share the common Linux window controller code in mixins ↗ flutter/flutter
- [5] [Lifetimes] Enable dependencies on "let" stored properties of class instances ↗ apple/swift
- [6] OpaqueValues: borrow accessor support ↗ apple/swift
- [7] AST: Don't narrow base platform availability restrictions ↗ apple/swift