Index: tests/compiler/dart2js/semantic_visitor_test.dart |
diff --git a/tests/compiler/dart2js/semantic_visitor_test.dart b/tests/compiler/dart2js/semantic_visitor_test.dart |
index 21ab642e03aacedd575ae908730459c1355cc434..305559fb7e565b3f7b8eae6ad79a67395a13a238 100644 |
--- a/tests/compiler/dart2js/semantic_visitor_test.dart |
+++ b/tests/compiler/dart2js/semantic_visitor_test.dart |
@@ -184,11 +184,6 @@ const List<VisitKind> UNTESTABLE_KINDS = const <VisitKind>[ |
VisitKind.VISIT_SUPER_METHOD_SETTER_COMPOUND, |
VisitKind.VISIT_SUPER_METHOD_SETTER_PREFIX, |
VisitKind.VISIT_SUPER_METHOD_SETTER_POSTFIX, |
- // Invalid use of setters is currently reported through an erroneous element. |
- VisitKind.VISIT_STATIC_SETTER_INVOKE, |
- VisitKind.VISIT_STATIC_SETTER_GET, |
- VisitKind.VISIT_TOP_LEVEL_SETTER_GET, |
- VisitKind.VISIT_TOP_LEVEL_SETTER_INVOKE, |
// The constant expressions of assignment to constant type literals cannot be |
// handled the compile constant evaluator. |
VisitKind.VISIT_CLASS_TYPE_LITERAL_SET, |
@@ -400,6 +395,7 @@ enum VisitKind { |
VISIT_LOCAL_FUNCTION_GET, |
VISIT_LOCAL_FUNCTION_INVOKE, |
+ VISIT_LOCAL_FUNCTION_INCOMPATIBLE_INVOKE, |
VISIT_LOCAL_FUNCTION_DECL, |
VISIT_CLOSURE_DECL, |
VISIT_LOCAL_FUNCTION_SET, |