"name" should not be visited for TypeParameter (#3529)

name is a string and does not need to be visited
This commit is contained in:
Daniel Tschinder
2016-06-17 23:21:23 +02:00
committed by Henry Zhu
parent 4e1b4aecfd
commit d7c0fbdf5b

View File

@@ -234,7 +234,7 @@ defineType("TypeCastExpression", {
});
defineType("TypeParameter", {
visitor: ["name", "bound"],
visitor: ["bound"],
aliases: ["Flow"],
fields: {
// todo