Improve error message for mismatching parameters in redirecting factory constructor #60220
Labels
area-devexp
Developer Experience related issues (DevTools, IDEs, Analysis Server, completions, refactoring, etc)
P3
A lower priority bug or feature request
When given the following invalid code:
Dart currently produces the following error message:
It will be great if the error message highlights which parameters are missing, i.e
The current error message is enough when there are a few parameters. However, when there are several parameters, the error message becomes something similar to:

which is unreadable.
The text was updated successfully, but these errors were encountered: