dart run
prints errors twice
#4375
Labels
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
dart run
prints errors twice
#4375
(Not entirely sure if this is actually an issue in pub or Dart SDK. Please just move the issue if it is posted wrongly) :)
Environment
Tested with the following:
Problem
When making a project containing a syntax error like:
And run it with
dart run
, we see the error message being printed twice:Expected behavior
Expected the error only be printed once like it is also the case if you run the program with:
And:
Bonus observation
It looks like colors of the error message are missing in the output from
dart run
compared todart run file.dart
anddart file.dart
:Same behavior have also been noticed in both PowerShell and Bash for Windows.
The text was updated successfully, but these errors were encountered: