Add more context to not_a_type
diagnostics
#55947
Labels
analyzer-ux
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
improve-diagnostics
Related to the quality of diagnostic messages
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Some time back the analyzer improved
argument_type_not_assignable
(and I'd imagine others) diagnostics to include more context about the types. Specifically it will say something like "where WhateverType is defined inURI
".Can we add similar context to
not_a_type
diagnostics? There should be a reference to a non-Type that we can point to.The text was updated successfully, but these errors were encountered: