mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 05:41:22 -06:00
move logInternalError to where it is used
This commit is contained in:
parent
f1ef966442
commit
70b8a569d9
@ -368,10 +368,6 @@ module TypeScript.Services {
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
export function logInternalError(logger: TypeScript.Logger, err: Error) {
|
||||
logger.log("*INTERNAL ERROR* - Exception in typescript services: " + err.message);
|
||||
}
|
||||
|
||||
export interface ReferenceEntry {
|
||||
fileName: string;
|
||||
minChar: number;
|
||||
|
||||
@ -249,6 +249,10 @@ module TypeScript.Services {
|
||||
return settings;
|
||||
}
|
||||
|
||||
function logInternalError(logger: TypeScript.Logger, err: Error) {
|
||||
logger.log("*INTERNAL ERROR* - Exception in typescript services: " + err.message);
|
||||
}
|
||||
|
||||
class ScriptSnapshotShimAdapter implements TypeScript.IScriptSnapshot {
|
||||
private lineStartPositions: number[] = null;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user