$ the-wire · showcase
Kotlin's module flags get stricter, Swift's prefix-mapped paths get a warning
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Kotlin's command line caught up with javac on two module flags and started rejecting one combination that used to pass silently, while Swift added an opt-in diagnostic for a caching side effect that breaks file lookups at runtime.
[CLI] Reject -Xadd-modules with -Xjdk-release below 9 JetBrains/kotlin
kotlinc used to ignore -Xadd-modules with no diagnostic when -Xjdk-release was below 9; it now errors, matching javac's rejection of --add-modules at that release and kotlinc's existing behavior for -Xadd-reads, -Xadd-exports, and -Xpatch-module. The input flags this as a breaking change for builds that currently pass both flags together.
[CLI] Support -Xadd-reads and -Xadd-exports JetBrains/kotlin
kotlinc had no counterpart to javac's --add-reads and --add-exports, so sources javac compiled fine failed in kotlinc with module access errors. The new -Xadd-reads and -Xadd-exports flags take javac's syntax, accept ALL-UNNAMED, can be repeated, and are validated the way javac validates them.
[Caching] Add opt-in warning for #filePath under prefix mapping apple/swift
With compilation caching and scanner prefix mapping, #filePath (and #file in Swift 5 mode) evaluates to a mapped path like /^src/Foo.swift, which breaks code that uses it to locate test resources on disk. A new PrefixMappedFilePath diagnostic group, off by default and enabled with -Wwarning PrefixMappedFilePath, warns at each affected #filePath.
[cxx-interop] Diagnose unsatisfied requirements of conforms_to conformances apple/swift
Conformances requested via swift_attr("conforms_to:...") were never checked by any source file, so a missing or ambiguous value witness was recorded as a delayed diagnostic that was never emitted; SILGen then produced an empty witness table and IRGen crashed. The compiler now marks these conformances and emits the delayed diagnostics once witnesses resolve.
[IC] Limit incremental compilation with -Xpatch-module JetBrains/kotlin
Incremental compilation with -Xpatch-module compiled only dirty sources, and when none of those sat in a patch path they landed outside the patched module and lost package access. A build now compiles incrementally only when no patch path contains sources, or when all Kotlin sources are in the patch paths.
Roll IANA language subtag registry to 2026-11-18 flutter/flutter
The subtag registry had been a cached copy since 2020; it now reflects IANA's 2026-11-18 data, so apps can localize languages that received ISO codes in the intervening years. Rounding out the day: average frame timing in devicelab's BlinkTraceSummary now covers all measured frames instead of the last 10, and the glyph atlas resize path was hardened against allocation failures.
Action items