Index: pkg/compiler/lib/src/js_backend/constant_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_emitter.dart b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
index 31bcccb9c0971aedf79d8526944f2af21ce27a68..ec1d8344b5fde73ae75e28bd1ff754b682ab6129 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
@@ -33,8 +33,8 @@ class ConstantEmitter implements ConstantValueVisitor<jsAst.Expression, Null> { |
final Compiler compiler; |
final Namer namer; |
- final _ConstantReferenceGenerator constantReferenceGenerator; |
- final _ConstantListGenerator makeConstantList; |
+ final ConstantValue->jsAst.Expression constantReferenceGenerator; |
+ final (jsAst.Expression array) -> jsAst.Expression makeConstantList; |
/** |
* The given [constantReferenceGenerator] function must, when invoked with a |
@@ -44,7 +44,7 @@ class ConstantEmitter implements ConstantValueVisitor<jsAst.Expression, Null> { |
ConstantEmitter( |
this.compiler, |
this.namer, |
- jsAst.Expression this.constantReferenceGenerator(ConstantValue constant), |
+ ConstantValue->jsAst.Expression this.constantReferenceGenerator, |
this.makeConstantList); |
DiagnosticReporter get reporter => compiler.reporter; |