diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 8fc36b5ac9e..27ae96ed080 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5006,7 +5006,7 @@ module ts { potentialThisCollisions.push(node); } - // this function will run after checking the source file so 'CaptureThis' for all nodes + // this function will run after checking the source file so 'CaptureThis' is correct for all nodes function checkIfThisIsCapturedInEnclosingScope(node: Node): void { var current = node; while (current) {