Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 620573002: Make fields sorting stable. (Closed)

Created:
6 years, 2 months ago by scheglov
Modified:
6 years, 2 months ago
Reviewers:
Paul Berry
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make fields sorting stable. Accidentally found a problem when one of the fields is moved, even though all the fields should not. It seems to be he case because List.sort() is not a stable sort. So, we now use offsets to compare field items. R=paulberry@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=40821

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M pkg/analysis_server/lib/src/services/correction/sort_members.dart View 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
scheglov
6 years, 2 months ago (2014-09-30 17:32:45 UTC) #1
Paul Berry
lgtm
6 years, 2 months ago (2014-09-30 17:49:11 UTC) #2
scheglov
6 years, 2 months ago (2014-09-30 18:00:36 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 40821 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698