@@ -724,7 +724,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void {
724724 break ;
725725 case SyntaxKind . JSDocFunctionType :
726726 return ( isJSDocConstructSignature ( node ) ? InternalSymbolName . New : InternalSymbolName . Call ) ;
727- case SyntaxKind . Parameter :
727+ case SyntaxKind . ParameterDeclaration :
728728 // Parameters with names are handled at the top of this function. Parameters
729729 // without names can only come from JSDocFunctionTypes.
730730 Debug . assert ( node . parent . kind === SyntaxKind . JSDocFunctionType , "Impossible parameter parent kind" , ( ) => `parent is: ${ Debug . formatSyntaxKind ( node . parent . kind ) } , expected JSDocFunctionType` ) ;
@@ -1193,7 +1193,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void {
11931193 case SyntaxKind . BindingElement :
11941194 bindBindingElementFlow ( node as BindingElement ) ;
11951195 break ;
1196- case SyntaxKind . Parameter :
1196+ case SyntaxKind . ParameterDeclaration :
11971197 bindParameterFlow ( node as ParameterDeclaration ) ;
11981198 break ;
11991199 case SyntaxKind . ObjectLiteralExpression :
@@ -2859,7 +2859,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void {
28592859 break ; // Binding the children will handle everything
28602860 case SyntaxKind . TypeParameter :
28612861 return bindTypeParameter ( node as TypeParameterDeclaration ) ;
2862- case SyntaxKind . Parameter :
2862+ case SyntaxKind . ParameterDeclaration :
28632863 return bindParameter ( node as ParameterDeclaration ) ;
28642864 case SyntaxKind . VariableDeclaration :
28652865 return bindVariableDeclarationOrBindingElement ( node as VariableDeclaration ) ;
0 commit comments