-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requesttype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
In the following code:
class Super {
get foo {}
set foo(_) {}
}
class Sub extends Super {
set foo(_) {}
}
The documentation for Sub
claims that foo
is write-only, despite it extending Super
and thus supporting Super.foo
as a readable property.
This has comes up in practice with the LineScanner
class, whose position
field is documented as write-only despite extending SpanScanner
. It's also worth noting that LineScanner.position
fails to inherit the documentation for SpanScanner.position
, although this is probably just the same issue.
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requesttype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)