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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart

Issue 2888823004: Remove async modifier from outlines (Closed)
Patch Set: Created 3 years, 7 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: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index 8ec51b3db2366e2e3e0e87e6ab0b2bdc6ee37698..d15c0ffba5814321994a8f999360e5dfc433d674 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -12,7 +12,6 @@ import 'package:front_end/file_system.dart';
import 'package:kernel/ast.dart'
show
Arguments,
- AsyncMarker,
CanonicalName,
Class,
Constructor,
@@ -367,19 +366,8 @@ class KernelTarget extends TargetImplementation {
// method. Similarly considerations apply to separate compilation. It
// could also make sense to add a way to mark .dill files as having
// compile-time errors.
- KernelProcedureBuilder mainBuilder = new KernelProcedureBuilder(
- null,
- 0,
- null,
- "main",
- null,
- null,
- AsyncMarker.Sync,
- ProcedureKind.Method,
- library,
- -1,
- -1,
- -1);
+ KernelProcedureBuilder mainBuilder = new KernelProcedureBuilder(null, 0,
+ null, "main", null, null, ProcedureKind.Method, library, -1, -1, -1);
library.addBuilder(mainBuilder.name, mainBuilder, -1);
mainBuilder.body = new ExpressionStatement(
new Throw(new StringLiteral("${errors.join('\n')}")));

Powered by Google App Engine
This is Rietveld 408576698