Document covariant
elsewhere then retire "Fixing common type problems" page
#6265
Labels
a.language
Relates to the Dart language tour
dev.type-system
Relates to the type system in Dart
e2-days
Can complete in < 5 days of normal, not dedicated, work
p1-high
Major but not urgent concern: Resolve in months. Update each month.
Page: https://dart.dev/guides/language/sound-problems#troubleshooting
Source: https://github.com/dart-lang/site-www/blob/main/src/content/guides/language/sound-problems.md
The page was introduced in the context of sound Dart being new and before the diagnostic messages were well documented. Now the warnings documented here (and many more) have consistent documentation on the Diagnostic messages page.
The only parts not covered by that page is the section on runtime errors and the
covariant
keyword. These docs need a new home before retiring the page, or at least thecovariant
docs do. That probably belongs in the language docs anyway.The text was updated successfully, but these errors were encountered: