wing icon indicating copy to clipboard operation
wing copied to clipboard

inherit parent docstring in case no docstring was provided in child member

Open yoav-steinberg opened this issue 9 months ago • 0 comments

/// Some docs
class Parent {
   // Some docs
   method() {};
}

class Child extendes Parent { // Inherited class with no docs should use the docs from `Parent`?
  method() {}; // Overridden method with no docs should use the docs from `Parent.method`
}

This should also be true for interface implementations and struct field overriding.

yoav-steinberg avatar May 15 '24 17:05 yoav-steinberg