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

Unified Diff: pkg/compiler/lib/src/kernel/task.dart

Issue 2934783002: Handle named mixin application in emitter (Closed)
Patch Set: Fixes Created 3 years, 6 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/compiler/lib/src/kernel/task.dart
diff --git a/pkg/compiler/lib/src/kernel/task.dart b/pkg/compiler/lib/src/kernel/task.dart
index 43fc2e985203db80f03104adb67c5aa7ad9fd509..81637a231bf6d201a54ecc5e7dd3391bd65332b8 100644
--- a/pkg/compiler/lib/src/kernel/task.dart
+++ b/pkg/compiler/lib/src/kernel/task.dart
@@ -37,10 +37,8 @@ class KernelTask extends CompilerTask {
///
/// May enqueue more elements to the resolution queue.
ir.Program buildProgram(LibraryElement library) {
- var main = library.findExported(Identifiers.main);
+ MethodElement main = library.findExported(Identifiers.main);
if (main == null) {
- // TODO(johnniwinther): Issue 29844.
- // ignore: INVALID_ASSIGNMENT
main = _compiler.frontendStrategy.commonElements.missingMain;
}
return new ir.Program(

Powered by Google App Engine
This is Rietveld 408576698