Chromium Code Reviews| Index: pkg/docgen/lib/docgen.dart |
| diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart |
| index 239d08a76056b204a6280ae97ef76727ac68e39f..5748d25ad507e13c8526647da4609881aa047f63 100644 |
| --- a/pkg/docgen/lib/docgen.dart |
| +++ b/pkg/docgen/lib/docgen.dart |
| @@ -305,7 +305,7 @@ void _documentLibraries(List<LibraryMirror> libs, {bool includeSdk: false, |
| entityMap.values.where((e) => e is Class).forEach((c) => c.makeValid()); |
| // Everything is a subclass of Object, therefore empty the list to avoid a |
| // giant list of subclasses to be printed out. |
| - if (parseSdk) (entityMap['dart-core.Object'] as Class).subclasses.clear(); |
| + if (includeSdk) (entityMap['dart-core.Object'] as Class).subclasses.clear(); |
|
Emily Fortuna
2013/11/06 22:29:26
if (parseSdk || includeSdk) ?
Alan Knight
2013/11/06 23:16:30
includeSdk the parameter to this method is passed
|
| var filteredEntities = entityMap.values.where(_isVisible); |