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

Issue 237343002: pkg/docgen: sort output files (Closed)

Created:
6 years, 8 months ago by kevmoo
Modified:
6 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -9 lines) Patch
M pkg/docgen/bin/docgen.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/docgen/lib/src/generator.dart View 5 chunks +20 lines, -4 lines 2 comments Download
M pkg/docgen/lib/src/model_helpers.dart View 2 chunks +3 lines, -1 line 0 comments Download
M pkg/docgen/lib/src/models.dart View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kevmoo
Much easier to debug changes with stable output order
6 years, 8 months ago (2014-04-14 17:22:52 UTC) #1
Emily Fortuna
lgtm
6 years, 8 months ago (2014-04-14 17:32:10 UTC) #2
Alan Knight
https://codereview.chromium.org/237343002/diff/1/pkg/docgen/lib/src/generator.dart File pkg/docgen/lib/src/generator.dart (right): https://codereview.chromium.org/237343002/diff/1/pkg/docgen/lib/src/generator.dart#newcode188 pkg/docgen/lib/src/generator.dart:188: } Why can't we just compare the qualified name ...
6 years, 8 months ago (2014-04-14 17:33:30 UTC) #3
kevmoo
Committed patchset #1 manually as r35032 (presubmit successful).
6 years, 8 months ago (2014-04-14 17:33:56 UTC) #4
kevmoo
6 years, 8 months ago (2014-04-14 17:35:37 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/237343002/diff/1/pkg/docgen/lib/src/generator...
File pkg/docgen/lib/src/generator.dart (right):

https://codereview.chromium.org/237343002/diff/1/pkg/docgen/lib/src/generator...
pkg/docgen/lib/src/generator.dart:188: }
On 2014/04/14 17:33:30, Alan Knight wrote:
> Why can't we just compare the qualified name of libraries, when that's what we
> do for everything else?

Because core libraries don't have a qualified prefix, so they end up sorted in
the middle of the content (after the packages starting with "C")

This fix ensures that dart:core libs show up first

Powered by Google App Engine
This is Rietveld 408576698