Index: pkg/compiler/lib/src/js_backend/namer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart |
index ac3965889516ed15b83070d2484dfeb40a729e9e..8df84a562f0979f1430950e40e5191493520f089 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -223,7 +223,8 @@ class Namer implements ClosureNamer { |
final String superPrefix = r'super$'; |
final String metadataField = '@'; |
final String callPrefix = 'call'; |
- final String callCatchAllName = r'call$catchAll'; |
+ final String callCatchAllName = r'call*'; |
+ final String callNameField = r'$callName'; |
final String reflectableField = r'$reflectable'; |
final String reflectionInfoField = r'$reflectionInfo'; |
final String reflectionNameField = r'$reflectionName'; |
@@ -233,6 +234,7 @@ class Namer implements ClosureNamer { |
r'$methodsWithOptionalArguments'; |
final String classDescriptorProperty = r'^'; |
+ final String requiredParameterField = r'$requiredArgCount'; |
// Name of property in a class description for the native dispatch metadata. |
final String nativeSpecProperty = '%'; |
@@ -307,6 +309,9 @@ class Namer implements ClosureNamer { |
case 'CALL_CATCH_ALL': return callCatchAllName; |
case 'REFLECTABLE': return reflectableField; |
case 'CLASS_DESCRIPTOR_PROPERTY': return classDescriptorProperty; |
+ case 'REQUIRED_PARAMETER_PROPERTY': return requiredParameterField; |
+ case 'DEFAULT_VALUES_PROPERTY': return defaultValuesField; |
+ case 'CALL_NAME_PROPERTY': return callNameField; |
default: |
compiler.reportError( |
node, MessageKind.GENERIC, |