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

Unified Diff: pkg/compiler/lib/src/js_backend/constant_emitter.dart

Issue 2466393002: Change to <- for types.
Patch Set: Fixes. Created 4 years, 1 month 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/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..a70a3dfe1fb5aa7608358c5188dba2d37ce9a926 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 jsAst.Expression<-ConstantValue constantReferenceGenerator;
+ final jsAst.Expression <- (jsAst.Expression array) 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),
+ jsAst.Expression<-ConstantValue this.constantReferenceGenerator,
this.makeConstantList);
DiagnosticReporter get reporter => compiler.reporter;
« no previous file with comments | « pkg/compiler/lib/src/helpers/trace.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/declarations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698