Open
Description
The analyzer used to notice when an import
, export
or part
directive referenced a generate file that does not exist and silenced follow-on diagnostics. That behavior appears to have been broken. For example, a file containing the following:
import 'doesNotExist.g.dart';
void f(A a) {
var b = A.b;
}
Now produces 3 diagnostics when it ought to produce a single "generated file does not exist" diagnostic.
This has serious implications for internal users.