Prevent getFunctionParent from returning Program (#5923)
This commit is contained in:
@@ -532,7 +532,7 @@ defineType("Program", {
|
||||
),
|
||||
},
|
||||
},
|
||||
aliases: ["Scopable", "BlockParent", "Block", "FunctionParent"],
|
||||
aliases: ["Scopable", "BlockParent", "Block"],
|
||||
});
|
||||
|
||||
defineType("ObjectExpression", {
|
||||
|
||||
Reference in New Issue
Block a user