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

Unified Diff: pkg/compiler/lib/src/resolution/enum_creator.dart

Issue 2456643006: More functionality in kernel_impact. (Closed)
Patch Set: Cleanup. Created 4 years, 2 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/resolution/enum_creator.dart
diff --git a/pkg/compiler/lib/src/resolution/enum_creator.dart b/pkg/compiler/lib/src/resolution/enum_creator.dart
index 0dd861a530b0aa6b8c6796f1c377b9a554bb1655..2d07373df5fbd4220d0739ae2763b10312a9a3b4 100644
--- a/pkg/compiler/lib/src/resolution/enum_creator.dart
+++ b/pkg/compiler/lib/src/resolution/enum_creator.dart
@@ -244,7 +244,7 @@ class EnumCreator {
requiredParameters: [indexFormal],
requiredParameterCount: 1,
type: new FunctionType(
- constructor, const VoidType(), <DartType>[intType]));
+ constructor, const DynamicType(), <DartType>[intType]));
constructor.functionSignature = constructorSignature;
enumClass.addMember(constructor, reporter);

Powered by Google App Engine
This is Rietveld 408576698