//// [mergedInterfacesWithInheritedPrivates3.ts] class C { private x: number; } class C2 { private x: number; } interface A extends C { // error y: string; } interface A extends C2 { z: string; } class D extends C implements A { // error y: string; z: string; } module M { class C { private x: string; } class C2 { private x: number; } interface A extends C { // error, privates conflict y: string; } interface A extends C2 { z: string; } } //// [mergedInterfacesWithInheritedPrivates3.js] var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var C = (function () { function C() { } return C; })(); var C2 = (function () { function C2() { } return C2; })(); var D = (function (_super) { __extends(D, _super); function D() { _super.apply(this, arguments); } return D; })(C); var M; (function (M) { var C = (function () { function C() { } return C; })(); var C2 = (function () { function C2() { } return C2; })(); })(M || (M = {}));