You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// subclassing is not transitive when you can remove required parameters and add optional parametersclassC{foo(x: number){}}classDextendsC{foo(){}// ok to drop parameters}classEextendsD{foo(x?: string){}// ok to add optional parameters}varc: C;vard: D;vare: E;c=e;varr=c.foo(1);varr2=e.foo('');
We need logic to compare private properties.
We should store the id of declaring class in properties, because properties from multiple class can be mixed.
The text was updated successfully, but these errors were encountered:
derivedClassTransitivity.ts
:We need logic to compare private properties.
We should store the id of declaring class in properties, because properties from multiple class can be mixed.
The text was updated successfully, but these errors were encountered: