Fix linting errors

This commit is contained in:
Anders Hejlsberg 2017-09-03 11:00:03 -07:00
parent a0c40943fe
commit 82281d9910

View file

@ -10434,7 +10434,6 @@ namespace ts {
function inferTypes(inferences: InferenceInfo[], originalSource: Type, originalTarget: Type, priority: InferencePriority = 0) {
let symbolStack: Symbol[];
let visited: Map<boolean>;
//sys.write(typeToString(originalSource) + " ==> " + typeToString(originalTarget) + "\n");
inferFromTypes(originalSource, originalTarget);
function inferFromTypes(source: Type, target: Type) {
@ -10502,7 +10501,6 @@ namespace ts {
const inference = getInferenceInfoForType(target);
if (inference) {
if (!inference.isFixed) {
//sys.write(" " + typeToString(source) + "\n");
if (!inference.candidates || priority < inference.priority) {
inference.candidates = [source];
inference.priority = priority;