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

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

Issue 766793004: Fix the async compiler, and pub's async compiler test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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
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 b60e4057f31b0ed436617799c77f2ba9640eab71..2e96717d460ae22c3ee079404b7032d59a86fc8f 100644
--- a/sdk/lib/_internal/pub_generated/bin/async_compile.dart
+++ b/sdk/lib/_internal/pub_generated/bin/async_compile.dart
@@ -249,7 +249,7 @@ String _fixDart2jsImports(String sourcePath, String source, String destPath) {
/// build.
void _generateSnapshot(String buildDir) {
buildDir = p.normalize(buildDir);
- new Directory(dir).createSync(recursive: true);
+ new Directory(buildDir).createSync(recursive: true);
var entrypoint = p.join(generatedDir, 'bin/pub.dart');
var packageRoot = p.join(buildDir, 'packages');
« no previous file with comments | « sdk/lib/_internal/pub/test/async_compile_test.dart ('k') | sdk/lib/_internal/pub_generated/test/async_compile_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698