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 04e540562a04380a3e20a422c8bfe306e6f79f95 | 15 8b401a9f2e5e81dca5f70dbe7564112a0823dee6 |
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 |