$ the-wire · showcase
Swift fixes a deinit mis-compile, Kotlin moves JsModule checks into the frontend
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
A Swift optimizer that silently dropped deinit calls is the day's one true correctness fix; the rest is deprecation warnings, a revived offline flag, and frontend tightening in Kotlin's JS and Wasm backends.
CopyToBorrowOptimization: don't remove destroys of values with deinits apple/swift
CopyToBorrowOptimization converted forwarding instructions to guaranteed ownership and erased the destroy of the forwarded value, so when that value was forwarded into a non-copyable struct or enum with a deinit, the deinit call disappeared. The pass now skips forwarding instructions that produce a value type with a deinit, which clears a mis-compile the commit traces to rdar://190730702.
[Wasm, JS] adjust frontend checkers for JsModule KT-89807 JetBrains/kotlin
The Wasm and JS frontends now prohibit JsModule on members and on external interfaces that lack a companion object, and reject @file:JsQualifier combined with a declaration-level @JsModule. The checker logic moved into a shared FirWebCommonJsModuleChecker, and the PR says further restrictions on combining declaration-level JsModule with JsQualifier and JsName are planned for Kotlin/Wasm, so exp...
[JS, Wasm] Execute file properties initializers before default arguments and in suspend functions JetBrains/kotlin
For JS and Wasm, PropertyLazyInitLowering now runs after the default-argument lowerings so file property initializers execute before default arguments do; on Wasm the initializer call is also injected into the $default synthetic functions, and top-level suspend functions trigger the initialization as well. Existing code that leaned on the old ordering can observe different timing.
[iOS/MacOS] Warn when using deprecated framework build commands (#191644) flutter/flutter
flutter build ios-framework and flutter build macos-framework now print a migration warning pointing at their replacement command. The commands still run; the warning exists to get framework builds off the deprecated paths before they are removed.
Reland "[flutter_tools] forward --offline flag to pub.get in update-packages" (#193838) flutter/flutter
flutter update-packages --offline now actually forwards --offline to pub get, so the flag reaches the dependency resolution instead of only gating incompatible option combinations. This is a reland with const added to DelegatingToolContext() in update_packages_test.dart to satisfy prefer_const_constructors. Elsewhere, Swift pulled two unnecessary DiagnosticTransaction uses out of Sema, and the ...
Action items