| Index: pkg/analyzer/test/generated/parser_test.dart
|
| diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
|
| index 710be9b836ef5c5038ab7409b5f95b6b923ec6ed..f18252fcf96539953a92681b02d47c693b4b6811 100644
|
| --- a/pkg/analyzer/test/generated/parser_test.dart
|
| +++ b/pkg/analyzer/test/generated/parser_test.dart
|
| @@ -4222,6 +4222,24 @@ class C {
|
|
|
| @reflectiveTest
|
| class ResolutionCopierTest extends EngineTestCase {
|
| + void test_visitAdjacentStrings() {
|
| + AdjacentStrings createNode() => new AdjacentStrings([
|
| + new SimpleStringLiteral(null, 'hello'),
|
| + new SimpleStringLiteral(null, 'world')
|
| + ]);
|
| +
|
| + AdjacentStrings fromNode = createNode();
|
| + DartType propagatedType = ElementFactory.classElement2("A").type;
|
| + fromNode.propagatedType = propagatedType;
|
| + DartType staticType = ElementFactory.classElement2("B").type;
|
| + fromNode.staticType = staticType;
|
| +
|
| + AdjacentStrings toNode = createNode();
|
| + ResolutionCopier.copyResolutionData(fromNode, toNode);
|
| + expect(toNode.propagatedType, same(propagatedType));
|
| + expect(toNode.staticType, same(staticType));
|
| + }
|
| +
|
| void test_visitAnnotation() {
|
| String annotationName = "proxy";
|
| Annotation fromNode =
|
|
|