OLD | NEW |
1 Pub is currently dogfooding the new Dart async/await syntax. Since the Dart VM | 1 Pub is currently dogfooding the new Dart async/await syntax. Since the Dart VM |
2 doesn't natively support it yet, we are using the [async-await][] compiler | 2 doesn't natively support it yet, we are using the [async-await][] compiler |
3 package. | 3 package. |
4 | 4 |
5 [async-await]: https://github.com/dart-lang/async_await | 5 [async-await]: https://github.com/dart-lang/async_await |
6 | 6 |
7 We run that to compile pub-using-await from sdk/lib/_internal/pub down to | 7 We run that to compile pub-using-await from sdk/lib/_internal/pub down to |
8 vanilla Dart code which is what you see here. To interoperate more easily with | 8 vanilla Dart code which is what you see here. To interoperate more easily with |
9 the rest of the repositry, we check in that generated code. | 9 the rest of the repositry, we check in that generated code. |
10 | 10 |
11 When bug #104 is fixed, we can remove this entirely. | 11 When bug #104 is fixed, we can remove this entirely. |
12 | 12 |
13 The code here was compiled using the async-await compiler at commit: | 13 The code here was compiled using the async-await compiler at commit: |
14 | 14 |
15 6228072d2a3fd87d6d4e8b147853c74486fdb581 | 15 b151ae5aeb8b825c528f46181d80430b2ee33a63 |
16 | 16 |
17 (Note: this file is also parsed by a tool to update the above commit, so be | 17 (Note: this file is also parsed by a tool to update the above commit, so be |
18 careful not to reformat it.) | 18 careful not to reformat it.) |
OLD | NEW |