-
Notifications
You must be signed in to change notification settings - Fork 130
Tidy some comments #3741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidy some comments #3741
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -125,7 +125,7 @@ mixin Inheritable on ContainerMember { | |
|
|
||
| Inheritable? get overriddenElement; | ||
|
|
||
| /// True if this [Inheritable] is overriding a superclass. | ||
| /// Whether this [Inheritable] is overriding a member from a superclass. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we also mention the relationship between There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| late final bool isOverride = () { | ||
| // The canonical version of the enclosing element -- not | ||
| // [canonicalEnclosingElement], as that is the element enclosing the | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,13 @@ import 'package:analyzer/dart/element/element.dart' show Element; | |
|
|
||
| /// Something that can be located for warning purposes. | ||
| mixin Locatable { | ||
| /// The model element(s) from which we will get documentation. | ||
|
||
| /// | ||
| /// Can be more than one if this is a `Field` composing documentation from | ||
| /// multiple `Accessor`s. | ||
| /// | ||
| /// This will walk up the inheritance hierarchy to find docs, if the current | ||
| /// class doesn't have docs for this element. | ||
| List<Locatable> get documentationFrom; | ||
|
|
||
| /// True if documentationFrom contains only one item, [this]. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of saying "has a 'nodoc' indication", can we just write out what 'nodoc' means and what it does? Otherwise, someone reading it would have to search to find what 'nodoc' is anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that is weird verbiage. Done!