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

Unified Diff: tests/compiler/dart2js/output_collector.dart

Issue 2912083002: Add compile_from_dill test (Closed)
Patch Set: Created 3 years, 7 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
Index: tests/compiler/dart2js/output_collector.dart
diff --git a/tests/compiler/dart2js/output_collector.dart b/tests/compiler/dart2js/output_collector.dart
index 0aa2480bda12603e4d3b365509ae6c8d0bd767a7..c81cb9993b7d073f7a8e6d5f1a65a6c6dfad6ed9 100644
--- a/tests/compiler/dart2js/output_collector.dart
+++ b/tests/compiler/dart2js/output_collector.dart
@@ -21,6 +21,10 @@ class BufferedOutputSink implements OutputSink {
text = sb.toString();
sb = null;
}
+
+ String toString() {
Siggi Cherem (dart-lang) 2017/05/30 22:34:43 I didn't see where this was used? only for debuggi
Johnni Winther 2017/05/31 09:08:40 For debugging
+ return text ?? sb.toString();
+ }
}
class CloningOutputSink implements OutputSink {
« pkg/compiler/lib/src/world.dart ('K') | « tests/compiler/dart2js/kernel/compiler_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698