(node)
| 46641 | return ts.Diagnostics.Invalid_use_of_0_in_strict_mode; |
| 46642 | } |
| 46643 | function checkStrictModeFunctionName(node) { |
| 46644 | if (inStrictMode) { |
| 46645 | // It is a SyntaxError if the identifier eval or arguments appears within a FormalParameterList of a strict mode FunctionDeclaration or FunctionExpression (13.1)) |
| 46646 | checkStrictModeEvalOrArguments(node, node.name); |
| 46647 | } |
| 46648 | } |
| 46649 | function getStrictModeBlockScopeFunctionDeclarationMessage(node) { |
| 46650 | // Provide specialized messages to help the user understand why we think they're in |
| 46651 | // strict mode. |
no test coverage detected