[dart2js] Default to printLegacyStars for debug printing

Change-Id: I504b6ebc4cc323c229d0aa068a874fe1331ddfbe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139562
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
Stephen Adams 2020-03-14 01:56:27 +00:00 committed by commit-bot@chromium.org
parent 48ac44b0e9
commit 5d4dc1d5c4

View file

@ -130,7 +130,7 @@ abstract class DartType {
@override
String toString() => toStructuredText();
String toStructuredText({bool printLegacyStars = false}) =>
String toStructuredText({bool printLegacyStars = true}) =>
_DartTypeToStringVisitor(printLegacyStars).run(this);
}