fix comment

This commit is contained in:
Vladimir Matveev
2014-08-07 10:26:18 -07:00
parent 236e24b468
commit e642086d56

View File

@@ -3796,7 +3796,7 @@ module ts {
// A nit here is that we reorder only signatures that belong to the same symbol,
// so order how inherited signatures are processed is still preserved.
// interface A { (x: string): void }
// interface B { (x: 'foo'): string }
// interface B extends A { (x: 'foo'): string }
// var b: B;
// b('foo') // <- here overloads should be processed as [(x:'foo'): string, (x: string): void]
function collectCandidates(node: CallExpression, signatures: Signature[]): Signature[]{