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

Unified Diff: sdk/lib/_internal/pub_generated/bin/async_compile.dart

Issue 553073002: Add a missing .url. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate. Created 6 years, 3 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 | « sdk/lib/_internal/pub/bin/async_compile.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub_generated/bin/async_compile.dart
diff --git a/sdk/lib/_internal/pub_generated/bin/async_compile.dart b/sdk/lib/_internal/pub_generated/bin/async_compile.dart
index ec7886edf93d8e2b9ba2bd1258fb16f95235f169..b291ab389f61c03632377677c46f935db656501b 100644
--- a/sdk/lib/_internal/pub_generated/bin/async_compile.dart
+++ b/sdk/lib/_internal/pub_generated/bin/async_compile.dart
@@ -104,7 +104,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()));
+ p.url.relative(compilerDir, from: p.url.dirname(p.toUri(destPath).toString()));
return source.replaceAll(_compilerPattern, "import '$relative");
}
void _generateSnapshot(String buildDir) {
« no previous file with comments | « sdk/lib/_internal/pub/bin/async_compile.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698