tests/cases/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.ts(8,12): error TS2416: Property 'myMethod' in type 'C' is not assignable to the same property in base type 'B'.
  Type '() => void' is not assignable to type '() => void'. Two different types with this name exist, but they are unrelated.
    The 'this' types of each signature are incompatible.
      Type 'A' is not assignable to type 'C'.
        Property 'myMethod' is private in type 'A' but not in type 'C'.


==== tests/cases/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.ts (1 errors) ====
    class A {
        private myMethod() { }
    }
    
    class B extends A { }
    
    class C extends B {
        public myMethod() { }
               ~~~~~~~~
!!! error TS2416: Property 'myMethod' in type 'C' is not assignable to the same property in base type 'B'.
!!! error TS2416:   Type '() => void' is not assignable to type '() => void'. Two different types with this name exist, but they are unrelated.
!!! error TS2416:     The 'this' types of each signature are incompatible.
!!! error TS2416:       Type 'A' is not assignable to type 'C'.
!!! error TS2416:         Property 'myMethod' is private in type 'A' but not in type 'C'.
    }
    