Index: lib/compiler/implementation/js_backend/emitter.dart |
=================================================================== |
--- lib/compiler/implementation/js_backend/emitter.dart (revision 13683) |
+++ lib/compiler/implementation/js_backend/emitter.dart (working copy) |
@@ -68,7 +68,7 @@ |
} |
void writeConstantToBuffer(Constant value, CodeBuffer buffer, |
- [emitCanonicalVersion = true]) { |
+ {emitCanonicalVersion: true}) { |
if (emitCanonicalVersion) { |
constantEmitter.emitCanonicalVersionOfConstant(value, buffer); |
} else { |
@@ -739,13 +739,14 @@ |
buffer.add(memberBuffer); |
} |
- classElement.implementation.forEachMember(includeBackendMembers: true, |
- f: (ClassElement enclosing, Element member) { |
- assert(invariant(classElement, member.isDeclaration)); |
- if (member.isInstanceMember()) { |
- addInstanceMember(member, defineInstanceMember); |
- } |
- }); |
+ classElement.implementation.forEachMember( |
+ (ClassElement enclosing, Element member) { |
+ assert(invariant(classElement, member.isDeclaration)); |
+ if (member.isInstanceMember()) { |
+ addInstanceMember(member, defineInstanceMember); |
+ } |
+ }, |
+ includeBackendMembers: true); |
generateIsTestsOn(classElement, (ClassElement other) { |
String code; |