| Index: pkg/analyzer/test/generated/all_the_rest.dart
|
| diff --git a/pkg/analyzer/test/generated/all_the_rest.dart b/pkg/analyzer/test/generated/all_the_rest.dart
|
| index 27c303ebaca976142ac8a9afd3514020b229e0b6..c2689897eff09baceaf633e2a0d692d10d832583 100644
|
| --- a/pkg/analyzer/test/generated/all_the_rest.dart
|
| +++ b/pkg/analyzer/test/generated/all_the_rest.dart
|
| @@ -9128,25 +9128,29 @@
|
| // SimpleIdentifier identifier = AstFactory.identifier3("A");
|
| // PrefixedIdentifier prefixedIdentifier = AstFactory.identifier4("pref", identifier);
|
| // InstanceCreationExpression creation = AstFactory.instanceCreationExpression2(Keyword.NEW, AstFactory.typeName3(prefixedIdentifier, []), []);
|
| -// // set ConstructorElement
|
| +// // set ClassElement
|
| // ClassElement classElement = ElementFactory.classElement2("A", []);
|
| +// identifier.staticElement = classElement;
|
| +// // set ConstructorElement
|
| // ConstructorElement constructorElement = ElementFactory.constructorElement2(classElement, null, []);
|
| // creation.constructorName.staticElement = constructorElement;
|
| // // verify that "A" is resolved to ConstructorElement
|
| // Element element = ElementLocator.locate(identifier);
|
| -// JUnitTestCase.assertSame(constructorElement, element);
|
| +// JUnitTestCase.assertSame(classElement, element);
|
| // }
|
| // void test_locate_InstanceCreationExpression_type_simpleIdentifier() {
|
| // // prepare: new A()
|
| // SimpleIdentifier identifier = AstFactory.identifier3("A");
|
| // InstanceCreationExpression creation = AstFactory.instanceCreationExpression2(Keyword.NEW, AstFactory.typeName3(identifier, []), []);
|
| -// // set ConstructorElement
|
| +// // set ClassElement
|
| // ClassElement classElement = ElementFactory.classElement2("A", []);
|
| +// identifier.staticElement = classElement;
|
| +// // set ConstructorElement
|
| // ConstructorElement constructorElement = ElementFactory.constructorElement2(classElement, null, []);
|
| // creation.constructorName.staticElement = constructorElement;
|
| // // verify that "A" is resolved to ConstructorElement
|
| // Element element = ElementLocator.locate(identifier);
|
| -// JUnitTestCase.assertSame(constructorElement, element);
|
| +// JUnitTestCase.assertSame(classElement, element);
|
| // }
|
| // void test_locate_LibraryDirective() {
|
| // AstNode id = _findNodeIn("library", ["library foo;"]);
|
|
|