tests/cases/compiler/missingFunctionImplementation.ts(3,3): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(8,3): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(16,3): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(22,10): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(28,10): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(33,10): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(41,10): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(48,10): error TS2300: Duplicate identifier 'm'. tests/cases/compiler/missingFunctionImplementation.ts(49,10): error TS2300: Duplicate identifier 'm'. tests/cases/compiler/missingFunctionImplementation.ts(49,10): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(52,19): error TS2300: Duplicate identifier 'm'. tests/cases/compiler/missingFunctionImplementation.ts(57,10): error TS2300: Duplicate identifier 'm'. tests/cases/compiler/missingFunctionImplementation.ts(60,19): error TS2300: Duplicate identifier 'm'. tests/cases/compiler/missingFunctionImplementation.ts(60,19): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(65,19): error TS2391: Function implementation is missing or not immediately following the declaration. tests/cases/compiler/missingFunctionImplementation.ts(73,19): error TS2393: Duplicate function implementation. tests/cases/compiler/missingFunctionImplementation.ts(74,19): error TS2393: Duplicate function implementation. tests/cases/compiler/missingFunctionImplementation.ts(75,19): error TS2393: Duplicate function implementation. tests/cases/compiler/missingFunctionImplementation.ts(78,19): error TS2393: Duplicate function implementation. ==== tests/cases/compiler/missingFunctionImplementation.ts (19 errors) ==== export class C1 { m(): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } // merged with a namespace export class C2 { m(): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } export namespace C2 { } // merged with a namespace, multiple overloads class C3 { m(a, b); m(a); ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } namespace C3 { } // static methods, multiple overloads class C4 { static m(a): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } // static methods, multiple overloads class C5 { static m(a): void; static m(): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } // merged with namespace, static methods class C6 { static m(): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } namespace C6 { } // merged with namespace, static methods, multiple overloads class C7 { static m(a): void; static m(): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } namespace C7 { } // merged with namespace, static methods, duplicate declarations class C8 { static m(a): void; ~ !!! error TS2300: Duplicate identifier 'm'. static m(a, b): void; ~ !!! error TS2300: Duplicate identifier 'm'. ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } namespace C8 { export function m(a?, b?): void { } ~ !!! error TS2300: Duplicate identifier 'm'. } // merged with namespace, static methods, duplicate declarations class C9 { static m(a): void { } ~ !!! error TS2300: Duplicate identifier 'm'. } namespace C9 { export function m(a): void; ~ !!! error TS2300: Duplicate identifier 'm'. ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } // merged namespaces namespace N10 { export function m(a): void; ~ !!! error TS2391: Function implementation is missing or not immediately following the declaration. } namespace N10 { export function m(a): void { } } // merged namespaces, duplicate defintions namespace N12 { export function m(a): void; ~ !!! error TS2393: Duplicate function implementation. export function m(): void; ~ !!! error TS2393: Duplicate function implementation. export function m(a?): void { } ~ !!! error TS2393: Duplicate function implementation. } namespace N12 { export function m(a): void { } ~ !!! error TS2393: Duplicate function implementation. }