tests/cases/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.ts(8,13): 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 'C' but not in type 'A'.


==== tests/cases/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.ts (1 errors) ====
    class A {
        public myMethod() { }
    }
    
    class B extends A { }
    
    class C extends B {
        private 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 'C' but not in type 'A'.
    }
    