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

Unified Diff: lib/src/utils.dart

Issue 55143003: webui fixes for 0.8.9 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 2 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 | « lib/src/info.dart ('k') | lib/src/utils_observe.dart » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 6f9bc6bddb8875325f098df2f5d206964f2b9432..3256304fe919e6844571b0a49039a9a0e1a8c023 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -6,12 +6,12 @@ library web_ui.src.utils;
import 'dart:async';
-import 'package:pathos/path.dart' show Builder;
+import 'package:path/path.dart' show Builder;
/**
- * An instance of the pathos library builder. We could just use the default
- * builder in pathos, but we add this indirection to make it possible to run
+ * An instance of the path library builder. We could just use the default
+ * builder in path, but we add this indirection to make it possible to run
* unittest for windows paths.
*/
Builder path = new Builder();
@@ -144,10 +144,10 @@ class FutureGroup {
_pending = _FINISHED;
_completer.complete(results);
}
- }, onError: (e) {
+ }, onError: (e, trace) {
if (_failedTask != null) return;
_failedTask = task;
- _completer.completeError(e, getAttachedStackTrace(e));
+ _completer.completeError(e, trace);
});
}
@@ -287,7 +287,7 @@ void compilerAssert(bool condition, [String message]) {
// we have a noSuchMethod error or something it will show up the same way as
// this does, including the bug report link.
/** Error thrown if there is a bug in the compiler itself. */
-class InternalError implements Error {
+class InternalError extends Error {
final message;
InternalError([this.message]);
« no previous file with comments | « lib/src/info.dart ('k') | lib/src/utils_observe.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698