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.graph.package_graph; | 5 library barback.graph.package_graph; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import '../asset/asset_id.dart'; | 10 import '../asset/asset_id.dart'; |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 completer.completeError(error, stackTrace); | 282 completer.completeError(error, stackTrace); |
283 }); | 283 }); |
284 }, onError: (error, stackTrace) { | 284 }, onError: (error, stackTrace) { |
285 _lastUnexpectedError = error; | 285 _lastUnexpectedError = error; |
286 _lastUnexpectedErrorTrace = stackTrace; | 286 _lastUnexpectedErrorTrace = stackTrace; |
287 _resultsController.addError(error, stackTrace); | 287 _resultsController.addError(error, stackTrace); |
288 }); | 288 }); |
289 return completer.future; | 289 return completer.future; |
290 } | 290 } |
291 } | 291 } |
OLD | NEW |