Skip to content

Commit ca03507

Browse files
committed
Remove unused field and no-op value set
With the current version of pkg/analyzer (0.31.0-alpha.2), enableAssertInitializer setter does nothing
1 parent fffa88c commit ca03507

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/src/model.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4882,7 +4882,6 @@ class TypeParameter extends ModelElement {
48824882

48834883
@override
48844884
String get name {
4885-
var bound = _typeParameter.bound;
48864885
return _typeParameter.bound != null
48874886
? '${_typeParameter.name} extends ${boundType.nameWithGenerics}'
48884887
: _typeParameter.name;
@@ -5011,7 +5010,6 @@ class PackageBuilder {
50115010
if (_context == null) {
50125011
// TODO(jcollins-g): fix this so it actually obeys analyzer options files.
50135012
var options = new AnalysisOptionsImpl();
5014-
options.enableAssertInitializer = true;
50155013
options.enableSuperMixins = true;
50165014
AnalysisEngine.instance.processRequiredPlugins();
50175015

0 commit comments

Comments
 (0)