Merge pull request #2576 from asger-semmle/typescript-cyclic-prop-fallthroughnode

Approved by max-schaefer
This commit is contained in:
semmle-qlci
2020-01-03 10:50:05 +00:00
committed by GitHub

View File

@@ -126,7 +126,7 @@ function checkCycle(root: any) {
function isBlacklistedProperty(k: string) {
return k === "parent" || k === "pos" || k === "end"
|| k === "symbol" || k === "localSymbol"
|| k === "flowNode" || k === "returnFlowNode" || k === "endFlowNode"
|| k === "flowNode" || k === "returnFlowNode" || k === "endFlowNode" || k === "fallthroughFlowNode"
|| k === "nextContainer" || k === "locals"
|| k === "bindDiagnostics" || k === "bindSuggestionDiagnostics";
}