-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
kind:bugA bug in the code. Does not apply to documentation, specs, etc.A bug in the code. Does not apply to documentation, specs, etc.topic:tools:docs-generator
Description
abstract struct Parent
# Docs for `#values`.
def values : Array(Int32)
[1]
end
end
abstract struct Child < Parent
# :inherit:
def values : Array(Int32)
values = super
values << 2
values
end
end
struct GrandChild < Child
# :inherit:
def values : Array(Int32)
values = super
values << 3
values
end
endGiven this structure, only Parent and Child will have Docs for #values. GrandChild simply has the string :inherit:. The implementation prob needs updated to go further up the tree if the parent method also has :inherit:.
asterite
Metadata
Metadata
Assignees
Labels
kind:bugA bug in the code. Does not apply to documentation, specs, etc.A bug in the code. Does not apply to documentation, specs, etc.topic:tools:docs-generator