Add links from static analysis messages to diagnostic-messages? #2579
Labels
dev.type-system
Relates to the type system in Dart
e1-hours
Can complete in < 8 hours of normal, not dedicated, work
p2-medium
Necessary but not urgent concern. Resolve when possible.
st.triage.ltw
Indicates Lead Tech Writer has triaged
t.diagnostics
Relates to diagnostics, analysis, or linting of code
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
The text was updated successfully, but these errors were encountered: