$ the-wire · showcase
Flutter patches doc imports, Kotlin reports sourceless fallbacks
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Two small correctness fixes landed across the mobile stack: Flutter makes its Material and Cupertino doc references explicit, and Kotlin's CLI frontend now surfaces a diagnostic when it has no source to point at.
[CLI, FE] Report sourceless fallback diagnostic when source is null JetBrains/kotlin
The CLI frontend now reports a sourceless fallback diagnostic when source is null, closing KT-89407 so errors no longer land without a location to point at. Verified by the same change landing on both the PR and its commit.
Fix doc references to Material and Cupertino in the widgets library and its tests flutter/flutter
Flutter added @docImport 'package:flutter/material.dart' and 'package:flutter/cupertino.dart' for doc references that previously resolved only through dartdoc's global lookup. It is an interim fix: these and the existing doc imports will change once the long-term approach in flutter/flutter#181288 is settled.
[CLI, FE] Report sourceless fallback diagnostic when source is null JetBrains/kotlin
The same sourceless-fallback diagnostic arrives in the Kotlin commit, attributed to Kirill Rakhman. It is the merged half of the KT-89407 fix described above.
Fix doc references to Material and Cupertino in the widgets library and its tests (#193334) flutter/flutter
The doc-import change also landed on the widgets library's tests, with the caveat that check_tests_cross_imports.dart covers widget test imports but not doc imports.