| Index: pkg/dartdoc/lib/dartdoc.dart
|
| diff --git a/pkg/dartdoc/lib/dartdoc.dart b/pkg/dartdoc/lib/dartdoc.dart
|
| index 5776958651642ee8a942041980b340d2b4fa059c..cd8e96e2fc59b89c4a8586b8be67d31d0f04917c 100644
|
| --- a/pkg/dartdoc/lib/dartdoc.dart
|
| +++ b/pkg/dartdoc/lib/dartdoc.dart
|
| @@ -1454,7 +1454,7 @@ class Dartdoc {
|
| /** Get the doc comment associated with the given library. */
|
| DocComment getLibraryComment(LibraryMirror library) {
|
| // Look for a comment for the entire library.
|
| - final comment = _comments.findLibrary(library.location.source);
|
| + final comment = _comments.findLibrary(library.location);
|
| if (comment == null) return null;
|
| return createDocComment(comment);
|
| }
|
| @@ -1689,7 +1689,7 @@ class Dartdoc {
|
| * Remove leading indentation to line up with first line.
|
| */
|
| unindentCode(SourceLocation span) {
|
| - final column = getLocationColumn(span);
|
| + final column = span.column;
|
| final lines = span.text.split('\n');
|
| // TODO(rnystrom): Dirty hack.
|
| for (var i = 1; i < lines.length; i++) {
|
|
|