Skip to content

Add links from static analysis messages to diagnostic-messages? #2579

@kwalrath

Description

@kwalrath

https://dart.dev/guides/language/sound-problems lists some static analysis messages. We used to auto-include them, but as of 2.9, we can't ignore errors (dart-lang/sdk#42977), so we now avoid testing known bad code (#2575) and can't auto-include the messages.

To compensate a bit, we could link from the message in sound-problems to the message's entry in https://dart.dev/tools/diagnostic-messages. That way we could provide some more info and (if the message name changes) provide a way to find the new message.

/cc @bwilkerson @theacodes @johnpryan

Metadata

Metadata

Assignees

Labels

dev.type-systemRelates to the type system in Darte1-hoursCan complete in < 8 hours of normal, not dedicated, workp2-mediumNecessary but not urgent concern. Resolve when possible.t.diagnosticsRelates to diagnostics, analysis, or linting of code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions