@@ -88,7 +88,7 @@ import {
88
88
fileIncludeReasonToDiagnostics ,
89
89
FilePreprocessingDiagnostics ,
90
90
FilePreprocessingDiagnosticsKind ,
91
- FilePreprocessingLibreferenceDiagnostic ,
91
+ FilePreprocessingLibReferenceDiagnostic ,
92
92
FileReference ,
93
93
filter ,
94
94
find ,
@@ -2067,7 +2067,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
2067
2067
diagnostic . args || emptyArray ,
2068
2068
) ,
2069
2069
) ;
2070
- case FilePreprocessingDiagnosticsKind . FilePreprocessingLibreferenceDiagnostic :
2070
+ case FilePreprocessingDiagnosticsKind . FilePreprocessingLibReferenceDiagnostic :
2071
2071
return programDiagnostics . add ( filePreprocessingLibreferenceDiagnostic ( diagnostic ) ) ;
2072
2072
case FilePreprocessingDiagnosticsKind . ResolutionDiagnostics :
2073
2073
return diagnostic . diagnostics . forEach ( d => programDiagnostics . add ( d ) ) ;
@@ -2087,7 +2087,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
2087
2087
return programDiagnostics ;
2088
2088
}
2089
2089
2090
- function filePreprocessingLibreferenceDiagnostic ( { reason } : FilePreprocessingLibreferenceDiagnostic ) {
2090
+ function filePreprocessingLibreferenceDiagnostic ( { reason } : FilePreprocessingLibReferenceDiagnostic ) {
2091
2091
const { file, pos, end } = getReferencedFileLocation ( program , reason ) as ReferenceFileLocation ;
2092
2092
const libReference = file . libReferenceDirectives [ reason . index ] ;
2093
2093
const libName = getLibNameFromLibReference ( libReference ) ;
@@ -4164,7 +4164,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
4164
4164
}
4165
4165
else {
4166
4166
( fileProcessingDiagnostics ||= [ ] ) . push ( {
4167
- kind : FilePreprocessingDiagnosticsKind . FilePreprocessingLibreferenceDiagnostic ,
4167
+ kind : FilePreprocessingDiagnosticsKind . FilePreprocessingLibReferenceDiagnostic ,
4168
4168
reason : { kind : FileIncludeKind . LibReferenceDirective , file : file . path , index } ,
4169
4169
} ) ;
4170
4170
}
0 commit comments