-
Notifications
You must be signed in to change notification settings - Fork 87
Fix doc comment references among other new lints #253
Conversation
Bump min SDK to 2.18
@@ -231,12 +233,12 @@ void mergeSort<E>(List<E> elements, | |||
var secondLength = end - middle; | |||
// secondLength is always the same as firstLength, or one greater. | |||
var scratchSpace = List<E>.filled(secondLength, elements[start]); | |||
E Function(E) id = identity; |
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.
This is a fun one!
@@ -17,7 +17,7 @@ class CombinedIterableView<T> extends IterableBase<T> { | |||
/// The iterables that this combines. | |||
final Iterable<Iterable<T>> _iterables; | |||
|
|||
/// Creates a combined view of [iterables]. | |||
/// Creates a combined view of [_iterables]. |
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.
type is not public anyway, but the lint flags this reference, for obvious reasons
Co-authored-by: Nate Bosch <nbosch@google.com>
Co-authored-by: Nate Bosch <nbosch@google.com>
PTAL @natebosch |
Co-authored-by: Nate Bosch <nbosch@google.com>
@natebosch – PTAL 😄 |
@@ -169,7 +164,7 @@ bool boolFunc(dynamic x) => true; | |||
Iterable<dynamic> expandFunc(dynamic x) => [x]; | |||
dynamic foldFunc(dynamic previous, dynamic next) => previous; | |||
int compareFunc(dynamic x, dynamic y) => 0; | |||
var val = 10; | |||
int val = 10; |
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.
why was this change necessary?
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.
Type instance variables lint.
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.
Ah. I don't think we should be turning that one on.
…tion#253) Bump min SDK to 2.18
Bump min SDK to 2.18