Skip to content

Commit bb89abd

Browse files
Update LKG.
1 parent c67fa9d commit bb89abd

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/tsc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16738,7 +16738,7 @@ var ts;
1673816738
case 280:
1673916739
return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
1674016740
case 148:
16741-
ts.Debug.assert(node.parent.kind === 280);
16741+
ts.Debug.assert(node.parent.kind === 280, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
1674216742
var functionType = node.parent;
1674316743
var index = functionType.parameters.indexOf(node);
1674416744
return "arg" + index;

lib/tsserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18952,7 +18952,7 @@ var ts;
1895218952
case 280:
1895318953
return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
1895418954
case 148:
18955-
ts.Debug.assert(node.parent.kind === 280);
18955+
ts.Debug.assert(node.parent.kind === 280, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
1895618956
var functionType = node.parent;
1895718957
var index = functionType.parameters.indexOf(node);
1895818958
return "arg" + index;

lib/tsserverlibrary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24172,7 +24172,7 @@ var ts;
2417224172
case 148 /* Parameter */:
2417324173
// Parameters with names are handled at the top of this function. Parameters
2417424174
// without names can only come from JSDocFunctionTypes.
24175-
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
24175+
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
2417624176
var functionType = node.parent;
2417724177
var index = functionType.parameters.indexOf(node);
2417824178
return "arg" + index;

lib/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21053,7 +21053,7 @@ var ts;
2105321053
case 148 /* Parameter */:
2105421054
// Parameters with names are handled at the top of this function. Parameters
2105521055
// without names can only come from JSDocFunctionTypes.
21056-
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
21056+
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
2105721057
var functionType = node.parent;
2105821058
var index = functionType.parameters.indexOf(node);
2105921059
return "arg" + index;

lib/typescriptServices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21053,7 +21053,7 @@ var ts;
2105321053
case 148 /* Parameter */:
2105421054
// Parameters with names are handled at the top of this function. Parameters
2105521055
// without names can only come from JSDocFunctionTypes.
21056-
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
21056+
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
2105721057
var functionType = node.parent;
2105821058
var index = functionType.parameters.indexOf(node);
2105921059
return "arg" + index;

0 commit comments

Comments
 (0)