Files
sdk/pkg/analysis_server
Kallen Tu 26652c6d31 [analyzer] Const: Add assert message for assert errors.
The current const assertion error code is okay for errors without messages, but for ones with a message included, it would be preferable to add that for additional context.

This CL adds another error code named `CONST_EVAL_ASSERTION_FAILURE_WITH_MESSAGE` to add the assert message onto the constant error.

Bug: https://github.com/dart-lang/sdk/issues/55485
Change-Id: Ie3c9019aab3ce0eb8e595b5c41394c89af32eed1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363942
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2024-04-23 23:05:01 +00:00
..

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.