| Index: sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| index f47100ec7a8ddfaeb48369ed0fcf5ea516f19d0a..617af04408f2477c946e62c01e1a9565e333bcd8 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| @@ -585,7 +585,7 @@ class IsolateNatives {
|
| * but you should probably not count on this.
|
| */
|
| static String _getJSFunctionName(Function f) {
|
| - return JS("String|Null", r"(#.$name || #)", f, null);
|
| + return JS("String|Null", r"(#['$name'] || #)", f, null);
|
| }
|
|
|
| /** Create a new JavaScript object instance given its constructor. */
|
|
|