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

Unified Diff: tools/patch_sdk.dart

Issue 2736103004: Use correct types on cloned constructors in mixin applications. (Closed)
Patch Set: Update kompile.status. Created 3 years, 9 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 | « tests/language/language_kernel.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/patch_sdk.dart
diff --git a/tools/patch_sdk.dart b/tools/patch_sdk.dart
index cdfc24c7e5b01193d9613cad83230d76a51dfdf7..6a06ec0400ee43edc0ba15f3635b77c95d038315 100644
--- a/tools/patch_sdk.dart
+++ b/tools/patch_sdk.dart
@@ -208,22 +208,22 @@ Future main(List<String> argv) async {
_writeSync(libraryOut, readInputFile(libraryIn));
}
+ final platform = path.join(outDir, 'platform.dill');
+
+ await compile_platform.mainEntryPoint(<String>[
+ '--packages',
+ new Uri.file(packagesFile).toString(),
+ new Uri.directory(outDir).toString(),
+ platform,
+ ]);
+
// TODO(kustermann): We suppress compiler hints/warnings/errors temporarily
// because everyone building the `runtime` target will get these now.
// We should remove the suppression again once the underlying issues have
// been fixed (either in fasta or the dart files in the patched_sdk).
final capturedLines = <String>[];
try {
- final platform = path.join(outDir, 'platform.dill');
-
await runZoned(() async {
- await compile_platform.mainEntryPoint(<String>[
- '--packages',
- new Uri.file(packagesFile).toString(),
- new Uri.directory(outDir).toString(),
- platform,
- ]);
-
// platform.dill was generated, now generate platform.dill.d depfile
// that captures all dependencies that participated in the generation.
// There are two types of dependencies:
« no previous file with comments | « tests/language/language_kernel.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698