Analyzer does not have a warning for @VisibleForTesting #28273
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
The documentation for the VisibleForTesting annotation suggests that the analyzer will provide feedback if "the annotation is associated with a declaration not in the 'lib' folder of a package or the declaration is referenced outside of its defining library or a library which is in the 'test' folder of the defining package (
sdk/pkg/meta/lib/meta.dart
Lines 123 to 133 in 37890f9
The text was updated successfully, but these errors were encountered: