| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library barback.asset_cascade; | 5 library barback.asset_cascade; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:stack_trace/stack_trace.dart'; |
| 11 |
| 10 import 'asset.dart'; | 12 import 'asset.dart'; |
| 11 import 'asset_id.dart'; | 13 import 'asset_id.dart'; |
| 12 import 'asset_set.dart'; | 14 import 'asset_set.dart'; |
| 13 import 'errors.dart'; | 15 import 'errors.dart'; |
| 14 import 'change_batch.dart'; | 16 import 'change_batch.dart'; |
| 15 import 'package_graph.dart'; | 17 import 'package_graph.dart'; |
| 16 import 'phase.dart'; | 18 import 'phase.dart'; |
| 17 import 'transformer.dart'; | 19 import 'transformer.dart'; |
| 18 import 'utils.dart'; | 20 import 'utils.dart'; |
| 19 | 21 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 msg.write(prefixLines(error.toString())); | 289 msg.write(prefixLines(error.toString())); |
| 288 if (stackTrace != null) { | 290 if (stackTrace != null) { |
| 289 msg.write("\n\n"); | 291 msg.write("\n\n"); |
| 290 msg.write("Stack trace:\n"); | 292 msg.write("Stack trace:\n"); |
| 291 msg.write(prefixLines(stackTrace.toString())); | 293 msg.write(prefixLines(stackTrace.toString())); |
| 292 } | 294 } |
| 293 return msg.toString(); | 295 return msg.toString(); |
| 294 }).join("\n\n"); | 296 }).join("\n\n"); |
| 295 } | 297 } |
| 296 } | 298 } |
| OLD | NEW |