Index: pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart |
index 9edfdcef53a32b1e47915b4569970f9cbc962424..833abebe06bea27e4a7ea1f6bb0aab2f8a31eedd 100644 |
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart |
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/declarations.dart |
@@ -10,7 +10,8 @@ const DEBUG_FAST_OBJECTS = false; |
/** |
* Call-back for adding property with [name] and [value]. |
*/ |
-typedef jsAst.Property AddPropertyFunction(String name, jsAst.Expression value); |
+typedef jsAst.Property AddPropertyFunction(jsAst.Name name, |
+ jsAst.Expression value); |
/** |
* [member] is a field (instance, static, or top level). |
@@ -31,8 +32,8 @@ typedef jsAst.Property AddPropertyFunction(String name, jsAst.Expression value); |
* type assertions are enabled (checked mode). |
*/ |
typedef void AcceptField(VariableElement member, |
- String name, |
- String accessorName, |
+ jsAst.Name name, |
+ jsAst.Name accessorName, |
bool needsGetter, |
bool needsSetter, |
bool needsCheckedSetter); |