| Index: lib/src/compiler/js_names.dart
|
| diff --git a/lib/src/compiler/js_names.dart b/lib/src/compiler/js_names.dart
|
| index 5cf311df204a3c508dd9d0d662c6da8c476c381b..9bce2f55f63d5d4e04a65072ae11be647d508096 100644
|
| --- a/lib/src/compiler/js_names.dart
|
| +++ b/lib/src/compiler/js_names.dart
|
| @@ -283,12 +283,13 @@ bool invalidVariableName(String keyword, {bool strictMode: true}) {
|
| }
|
|
|
| /// Returns true for invalid static field names in strict mode.
|
| -/// In particular, "caller" "callee" and "arguments" cannot be used.
|
| +/// In particular, "caller" "callee" "arguments" and "name" cannot be used.
|
| bool invalidStaticFieldName(String name) {
|
| switch (name) {
|
| case "arguments":
|
| case "caller":
|
| case "callee":
|
| + case "name":
|
| return true;
|
| }
|
| return false;
|
|
|