Index: pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
diff --git a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
index d226565187e2886b249d3ec475501271656e1fdc..d3fe2030198adb11eaa7252bdd82556e7fc09824 100644 |
--- a/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
+++ b/pkg/analysis_server/test/services/index/dart_index_contributor_test.dart |
@@ -79,6 +79,15 @@ class DartUnitContributorTest extends AbstractSingleUnitTest { |
}); |
} |
+ void test_bad_unresolvedFieldFormalParameter() { |
+ verifyNoTestUnitErrors = false; |
+ _indexTestUnit(''' |
+class Test { |
+ final field; |
+ Test(this.fie); |
+}'''); |
+ } |
+ |
void test_definesClass() { |
_indexTestUnit('class A {}'); |
// prepare elements |