Index: pkg/analyzer2dart/lib/src/semantic_visitor.dart |
diff --git a/pkg/analyzer2dart/lib/src/semantic_visitor.dart b/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
index f3e7d82efe21ec5a572c58decd5264aedf962297..2e1c170b930ef529b1ab82895de8d8c62b4b71b2 100644 |
--- a/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
+++ b/pkg/analyzer2dart/lib/src/semantic_visitor.dart |
@@ -188,7 +188,7 @@ abstract class SemanticVisitor<R> extends RecursiveAstVisitor<R> { |
return visitStaticMethodAccess(node, semantics); |
case AccessKind.STATIC_PROPERTY: |
return visitStaticPropertyAccess(node, semantics); |
- case AccessKind.TOPLEVEL_CLASS: |
+ case AccessKind.TOPLEVEL_TYPE: |
return visitToplevelClassAccess(node, semantics); |
case AccessKind.TYPE_PARAMETER: |
return visitTypeParameterAccess(node, semantics); |