$ the-wire · showcase
Flutter tooling hardens diagnostics, gen-l10n learns standalone UI packages
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter's tooling desk carried the day with three compatibility-facing changes, while Swift's optimizer work and Kotlin/Native's rollback of weak edges both trade incremental precision for correctness.
[flutter_tools] Harden extension diagnostics models and RPC failure handling flutter/flutter
ValidationMessage now includes piiStrippedMessage in equality and validates it alongside contextUrl in fromJson, and ValidationResult no longer defaults a missing or unknown type to ValidationType.success. The PR notes that ValidationResult.crash hardcoded a Flutter issue URL in the partner-facing package:flutter_tools_core, which is what hardened failure handling in DiagnosticsExtensionClient....
[flutter_tools] Support standalone UI packages in gen-l10n flutter/flutter
gen-l10n now reads pubspec.yaml dependencies to emit scoped show GlobalMaterialLocalizations or show GlobalCupertinoLocalizations imports for apps migrated to package:material_ui and package:cupertino_ui. pubspec.yaml is now tracked as a generator input, so changing dependencies re-runs localization generation.
[flutter_tools] Consolidate ToolDependencies.bootstrap builders and require extension managers flutter/flutter
ToolDependencies.bootstrap collapsed its 13 (foo, fooBuilder) override-bridging pairs, preRunValidatorBuilder became the enablePreRunValidator flag, and extensionManager, extensionBuildManager, and extensionCleanManager are now required non-nullable fields. Anyone subclassing or overriding bootstrap in tooling tests will need to migrate.
[K/N] Incremental codegen: drop weak edges JetBrains/kotlin
Kotlin/Native dropped the weak link-time edges used for incremental codegen after they produced corner cases where a dependency was not recompiled but should have been; the commit says precision and performance will be revisited under OSIP-1297. The follow-up removes the virtual trampoline workarounds those edges required.
CopySinking: sink copies to their uses and into successor blocks apple/swift
Swift's CopySinking pass gained three transformations: sinking a copy_value to its single in-block use, sinking copies of guaranteed values and load [copy] into the successor block where they are used, and dropping copies consumed by checked_cast_br. The point is avoiding retain/release pairs on paths where the value is only destroyed, with the checked_cast_br case also landed on its own.
SILDebugInfoGenerator: Invalidate alloc_box debug variables apple/swift
Elsewhere in Swift, SILDebugInfoGenerator now invalidates debug variables from alloc_box instructions, LICM hoists alloc_stack, and a LifetimeDependenceScopeFixup change begins an owned terminator result's range in its own block, a prerequisite for an unwrapped-optional fix. Kotlin's remaining commits are cleanup: getSerializedData, CompileScopeExpansionMode (whose ALWAYS and NEVER values were ...