Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: pkg/analyzer/lib/error/listener.dart

Issue 2707983002: Fix stack overflow printing recursive function types (issue 28835) (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/error/listener.dart
diff --git a/pkg/analyzer/lib/error/listener.dart b/pkg/analyzer/lib/error/listener.dart
index 1f75fcb1b1f2366688cb53b5f61b1e00c3517311..2cf26f8967e2c0f2eada8f49d731c7ac8f6cbfc6 100644
--- a/pkg/analyzer/lib/error/listener.dart
+++ b/pkg/analyzer/lib/error/listener.dart
@@ -202,7 +202,7 @@ class ErrorReporter {
if (name != null && name.length > 0) {
StringBuffer buffer = new StringBuffer();
buffer.write(name);
- (type as TypeImpl).appendTo(buffer);
+ (type as TypeImpl).appendTo(buffer, new Set.identity());
return buffer.toString();
}
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698