Infer super function call from super

When calling a super function from a child class, I suggest that super should infer the parent super function. Having to call the super function is redundant in most cases. It is already inferred by the constructor so the fact that it is not inferred by the child functions is a little odd.

class MyParent {
   protected myFunction(test:string):void {
   }
}

class MyChild extends MyParent {
   myFunction(test:string):void {
      super("test"); //this should infer super.myFunction()
   }
}
1 Like