mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG.
This commit is contained in:
+1
-1
@@ -16738,7 +16738,7 @@ var ts;
|
||||
case 280:
|
||||
return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
|
||||
case 148:
|
||||
ts.Debug.assert(node.parent.kind === 280);
|
||||
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"; });
|
||||
var functionType = node.parent;
|
||||
var index = functionType.parameters.indexOf(node);
|
||||
return "arg" + index;
|
||||
|
||||
+1
-1
@@ -18952,7 +18952,7 @@ var ts;
|
||||
case 280:
|
||||
return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
|
||||
case 148:
|
||||
ts.Debug.assert(node.parent.kind === 280);
|
||||
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"; });
|
||||
var functionType = node.parent;
|
||||
var index = functionType.parameters.indexOf(node);
|
||||
return "arg" + index;
|
||||
|
||||
@@ -24172,7 +24172,7 @@ var ts;
|
||||
case 148 /* Parameter */:
|
||||
// Parameters with names are handled at the top of this function. Parameters
|
||||
// without names can only come from JSDocFunctionTypes.
|
||||
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
|
||||
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"; });
|
||||
var functionType = node.parent;
|
||||
var index = functionType.parameters.indexOf(node);
|
||||
return "arg" + index;
|
||||
|
||||
+1
-1
@@ -21053,7 +21053,7 @@ var ts;
|
||||
case 148 /* Parameter */:
|
||||
// Parameters with names are handled at the top of this function. Parameters
|
||||
// without names can only come from JSDocFunctionTypes.
|
||||
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
|
||||
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"; });
|
||||
var functionType = node.parent;
|
||||
var index = functionType.parameters.indexOf(node);
|
||||
return "arg" + index;
|
||||
|
||||
@@ -21053,7 +21053,7 @@ var ts;
|
||||
case 148 /* Parameter */:
|
||||
// Parameters with names are handled at the top of this function. Parameters
|
||||
// without names can only come from JSDocFunctionTypes.
|
||||
ts.Debug.assert(node.parent.kind === 280 /* JSDocFunctionType */);
|
||||
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"; });
|
||||
var functionType = node.parent;
|
||||
var index = functionType.parameters.indexOf(node);
|
||||
return "arg" + index;
|
||||
|
||||
Reference in New Issue
Block a user