(node)
| 82365 | } |
| 82366 | } |
| 82367 | function checkWeakMapSetCollision(node) { |
| 82368 | var enclosingBlockScope = ts.getEnclosingBlockScopeContainer(node); |
| 82369 | if (getNodeCheckFlags(enclosingBlockScope) & 67108864 /* NodeCheckFlags.ContainsClassWithPrivateIdentifiers */) { |
| 82370 | ts.Debug.assert(ts.isNamedDeclaration(node) && ts.isIdentifier(node.name) && typeof node.name.escapedText === "string", "The target of a WeakMap/WeakSet collision check should be an identifier"); |
| 82371 | errorSkippedOn("noEmit", node, ts.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, node.name.escapedText); |
| 82372 | } |
| 82373 | } |
| 82374 | function recordPotentialCollisionWithReflectInGeneratedCode(node, name) { |
| 82375 | if (name && languageVersion >= 2 /* ScriptTarget.ES2015 */ && languageVersion <= 8 /* ScriptTarget.ES2021 */ |
| 82376 | && needCollisionCheckForIdentifier(node, name, "Reflect")) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…