(iterationStatement)
| 82937 | } |
| 82938 | } |
| 82939 | function checkForInOrForOfVariableDeclaration(iterationStatement) { |
| 82940 | var variableDeclarationList = iterationStatement.initializer; |
| 82941 | // checkGrammarForInOrForOfStatement will check that there is exactly one declaration. |
| 82942 | if (variableDeclarationList.declarations.length >= 1) { |
| 82943 | var decl = variableDeclarationList.declarations[0]; |
| 82944 | checkVariableDeclaration(decl); |
| 82945 | } |
| 82946 | } |
| 82947 | function checkRightHandSideOfForOf(statement) { |
| 82948 | var use = statement.awaitModifier ? 15 /* IterationUse.ForAwaitOf */ : 13 /* IterationUse.ForOf */; |
| 82949 | return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression); |
no test coverage detected
searching dependent graphs…