Skip to content

Remove unused field and no-op value set #1562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/dartdoc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export 'src/sdk.dart';

const String name = 'dartdoc';
// Update when pubspec version changes.
const String version = '0.15.0+1';
const String version = '0.15.1-dev';

final String defaultOutDir = path.join('doc', 'api');

Expand Down
2 changes: 0 additions & 2 deletions lib/src/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4882,7 +4882,6 @@ class TypeParameter extends ModelElement {

@override
String get name {
var bound = _typeParameter.bound;
return _typeParameter.bound != null
? '${_typeParameter.name} extends ${boundType.nameWithGenerics}'
: _typeParameter.name;
Expand Down Expand Up @@ -5011,7 +5010,6 @@ class PackageBuilder {
if (_context == null) {
// TODO(jcollins-g): fix this so it actually obeys analyzer options files.
var options = new AnalysisOptionsImpl();
options.enableAssertInitializer = true;
options.enableSuperMixins = true;
AnalysisEngine.instance.processRequiredPlugins();

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dartdoc
# Also update the `version` field in lib/dartdoc.dart.
version: 0.15.0+1
version: 0.15.1-dev
author: Dart Team <[email protected]>
description: A documentation generator for Dart.
homepage: https://github.com/dart-lang/dartdoc
Expand Down
2 changes: 1 addition & 1 deletion testing/test_package_docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="made with love by dartdoc 0.15.0+1">
<meta name="generator" content="made with love by dartdoc 0.15.1-dev">
<meta name="description" content="test_package API docs, for the Dart programming language.">
<title>test_package - Dart API docs</title>

Expand Down