Analysis server's BazelWorkspace needs to support dart_package
directives in BUILD files
#42594
Labels
analyzer-server
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
NNBD
Issues related to NNBD Release
The way to opt packages into NNBD in a Bazel workspace will be to include this directive in a
BUILD
file:The analysis server needs to recognize this pattern and use it to determine whether a package is opted in to NNBD.
Note that
BUILD
files are auto-formatted so it's not necessary to parse the whole file to find this directive; a simple regexp should suffice.The text was updated successfully, but these errors were encountered: