| Index: frog/leg/namer.dart
|
| ===================================================================
|
| --- frog/leg/namer.dart (revision 3781)
|
| +++ frog/leg/namer.dart (working copy)
|
| @@ -32,9 +32,9 @@
|
| final String ISOLATE = "Isolate";
|
|
|
|
|
| - String closureInvocationName(int arity) {
|
| + String closureInvocationName(Selector selector) {
|
| // TODO(floitsch): mangle, while not conflicting with instance names.
|
| - return instanceMethodName(CLOSURE_INVOCATION_NAME, arity);
|
| + return instanceMethodInvocationName(CLOSURE_INVOCATION_NAME, selector);
|
| }
|
|
|
| String instanceMethodName(SourceString name, int arity) {
|
| @@ -42,6 +42,11 @@
|
| return '$name\$$arity';
|
| }
|
|
|
| + String instanceMethodInvocationName(SourceString name, Selector selector) {
|
| + // TODO(floitsch): mangle, while preserving uniqueness.
|
| + return '$name\$$selector';
|
| + }
|
| +
|
| String instanceFieldName(SourceString name) {
|
| return '$name';
|
| }
|
|
|