Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Removed unnecessary nullable type in maxBy #181

Merged
merged 2 commits into from
Sep 13, 2021
Merged

Removed unnecessary nullable type in maxBy #181

merged 2 commits into from
Sep 13, 2021

Conversation

Afsar-Pasha
Copy link
Contributor

No description provided.

@google-cla google-cla bot added the cla: yes label Feb 22, 2021
@@ -86,7 +86,7 @@ S? minBy<S, T>(Iterable<S> values, T Function(S) orderBy,
/// compared using their [Comparable.compareTo].
///
/// Returns `null` if [values] is empty.
S? maxBy<S, T>(Iterable<S> values, T Function(S?) orderBy,
S? maxBy<S, T>(Iterable<S> values, T Function(S) orderBy,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@lrhn lrhn merged commit cd46e19 into dart-archive:master Sep 13, 2021
@natebosch
Copy link
Contributor

This change causes errors in google3 and is causing pain trying to get the package rolled through.

@mit-mit - A data point that a cbuild like system for package PRs would be a big help so we find out before it becomes a blocker.

@Afsar-Pasha Afsar-Pasha deleted the patch-1 branch November 26, 2021 07:52
mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 18, 2024
* Removed unnecessary nullable type in maxBy

* Update functions_test.dart
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants