scala
scala copied to clipboard
Accessible lint less triggered for sealed, restricted owners
Fixes scala/bug#9490 Fixes scala/bug#11835
The exclusion for sealed is because they know what they're doing, rather than a strict check for possible children that violate the expectation. (The closed ticket is not quite a duplicate.)
The check for all owners asks if there is any owner that already restricts access.