From e642086d5652a0dc111852bdebc8a9ffd81ebaf1 Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Thu, 7 Aug 2014 10:26:18 -0700 Subject: [PATCH] fix comment --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c48a417f9b8..a0149770bf7 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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[]{