739826d041
This CL is to resolve a TODO. I couldn't find a way to trigger any bugs in the code, but I did add a test. I believe that the reason I couldn't trigger a bug is because any constructor that has a null `typeName` will not have a simple identifier in a place that would allow `_isConstructorDeclarationReturnType` to be invoked. I realized, while looking at the code, that the type check is unnecessary. If the type name is null, then the test will somply return `false`, which is what we'd expect it to do. Given that it isn't needed, I decided to remove it. Change-Id: Ib36aaf16475db0db5817e65a8b8bfbb8aa834dbd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505501 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
analysis_server
A long-running process that provides analysis results to other tools.
The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.
Using the server
The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.
Clients (typically tools, such as an editor) are expected to run the analysis
server in a separate process and communicate with it using a JSON protocol. The
original protocol is specified in the file analysis_server/doc/api.html
and Language Server Protocol support is documented in
tool/lsp_spec/README.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.