| Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| index fb1cf881286ffde2d75e8f20c1e1c72b3aef6cf9..4735b7b93f27be852286d6b743c6b199f64e70d3 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| @@ -252,6 +252,9 @@ class DartBackend extends Backend {
|
| fixedMemberNames.add(element.name.slowToString());
|
| });
|
| }
|
| + // The VM will automatically invoke the call method of objects
|
| + // that are invoked as functions. Make sure to not rename that.
|
| + fixedMemberNames.add('call');
|
| // TODO(antonm): TypeError.srcType and TypeError.dstType are defined in
|
| // runtime/lib/error.dart. Overall, all DartVM specific libs should be
|
| // accounted for.
|
|
|