Chromium Code Reviews| 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 { |