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

Unified Diff: sdk/lib/_internal/pub_generated/README.md

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: sdk/lib/_internal/pub_generated/README.md
diff --git a/sdk/lib/_internal/pub_generated/README.md b/sdk/lib/_internal/pub_generated/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..3ac0466a848cb0c41a99ae7869c35d6c82741508
--- /dev/null
+++ b/sdk/lib/_internal/pub_generated/README.md
@@ -0,0 +1,17 @@
+Pub is currently dogfooding the new Dart async/await syntax. Since the Dart VM
+doesn't natively support it yet, we are using the [async-await][] compiler package.
nweiz 2014/09/08 23:17:05 Long line.
Bob Nystrom 2014/09/09 17:01:04 Done.
+
+[async-await]: https://github.com/dart-lang/async_await
+
+We run that to compile pub-using-await from sdk/lib/_internal/pub down to
+vanilla Dart code which is what you see here. To interoperate more easily with
+the rest of the repositry, we check in that generated code.
+
+When bug #104 is fixed, we can remove this entirely.
+
+The code here was compiled using the async-await compiler at commit:
+
+ 6228072d2a3fd87d6d4e8b147853c74486fdb581
+
+(Note: this file is also parsed by a tool to update the above commit, so be
+careful not to reformat it.)

Powered by Google App Engine
This is Rietveld 408576698