| Index: pkg/analyzer/test/src/dart/element/element_test.dart
|
| diff --git a/pkg/analyzer/test/src/dart/element/element_test.dart b/pkg/analyzer/test/src/dart/element/element_test.dart
|
| index 394fcd5620ce89f8222530334f4366400d0dbcb2..f659b070feebb0d848cf5fdfd7febb73277e6ac0 100644
|
| --- a/pkg/analyzer/test/src/dart/element/element_test.dart
|
| +++ b/pkg/analyzer/test/src/dart/element/element_test.dart
|
| @@ -282,7 +282,7 @@ abstract class A<K, V> = Object with MapMixin<K, V>;
|
| ElementFactory.getterElement("foo", false, null);
|
| classA.accessors = <PropertyAccessorElement>[getter];
|
| // "foo" is static
|
| - getter.static = true;
|
| + getter.isStatic = true;
|
| expect(classA.hasStaticMember, isTrue);
|
| }
|
|
|
| @@ -291,7 +291,7 @@ abstract class A<K, V> = Object with MapMixin<K, V>;
|
| MethodElementImpl method = ElementFactory.methodElement("foo", null);
|
| classA.methods = <MethodElement>[method];
|
| // "foo" is static
|
| - method.static = true;
|
| + method.isStatic = true;
|
| expect(classA.hasStaticMember, isTrue);
|
| }
|
|
|
| @@ -301,7 +301,7 @@ abstract class A<K, V> = Object with MapMixin<K, V>;
|
| ElementFactory.setterElement("foo", false, null);
|
| classA.accessors = <PropertyAccessorElement>[setter];
|
| // "foo" is static
|
| - setter.static = true;
|
| + setter.isStatic = true;
|
| expect(classA.hasStaticMember, isTrue);
|
| }
|
|
|
| @@ -1942,7 +1942,7 @@ class FunctionTypeImplTest extends EngineTestCase {
|
| // the user (and hence can't participate in circularities).
|
| FunctionTypeAliasElementImpl f =
|
| ElementFactory.functionTypeAliasElement('f');
|
| - f.synthetic = true;
|
| + f.isSynthetic = true;
|
| FunctionTypeImpl type = f.type;
|
| expect(type.newPrune, isNull);
|
| }
|
|
|