From 3253317fca344366895252fc447c2290edb9ce3e Mon Sep 17 00:00:00 2001 From: "rnystrom@google.com" <rnystrom@google.com> Date: Tue, 9 Sep 2014 17:14:47 +0000 Subject: [PATCH] Add a missing .url. BUG= Review URL: https://codereview.chromium.org//553073002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40043 260f80e4-7a28-3924-810f-c04153c831b5 --- bin/async_compile.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/async_compile.dart b/bin/async_compile.dart index c40d54d9..c0d13e64 100644 --- a/bin/async_compile.dart +++ b/bin/async_compile.dart @@ -176,7 +176,7 @@ String _translateAsyncAwait(String sourcePath, String source) { String _fixDart2jsImports(String sourcePath, String source, String destPath) { var compilerDir = p.url.join(sourceUrl, "../compiler"); var relative = p.url.relative(compilerDir, - from: p.dirname(p.toUri(destPath).toString())); + from: p.url.dirname(p.toUri(destPath).toString())); return source.replaceAll(_compilerPattern, "import '$relative"); } -- GitLab