| Index: pkg/analyzer/test/src/task/dart_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
|
| index b0352cb3215e19fa9882bde3ecd15218302b1c85..a6d9448920cd35cb0f1ae31c3b990d13ea1b8197 100644
|
| --- a/pkg/analyzer/test/src/task/dart_test.dart
|
| +++ b/pkg/analyzer/test/src/task/dart_test.dart
|
| @@ -2818,6 +2818,12 @@ class C {
|
|
|
| @reflectiveTest
|
| class InferStaticVariableTypesInUnitTaskTest extends _AbstractDartTaskTest {
|
| + @override
|
| + void setUp() {
|
| + super.setUp();
|
| + enableStrongMode();
|
| + }
|
| +
|
| test_created_resolved_unit() {
|
| Source source = newSource(
|
| '/test.dart',
|
| @@ -2848,6 +2854,18 @@ class M {
|
| expect(declaration.element.type, stringType);
|
| }
|
|
|
| + test_perform_hasParseError() {
|
| + Source source = newSource(
|
| + '/test.dart',
|
| + r'''
|
| +@(i $=
|
| +''');
|
| + LibrarySpecificUnit target = new LibrarySpecificUnit(source, source);
|
| + computeResult(target, RESOLVED_UNIT7);
|
| + expect(outputs[RESOLVED_UNIT7], isNotNull);
|
| + expect(outputs[CREATED_RESOLVED_UNIT7], isTrue);
|
| + }
|
| +
|
| void test_perform_nestedDeclarations() {
|
| enableStrongMode();
|
| AnalysisTarget source = newSource(
|
|
|