diff --git a/languages/tree-sitter-stack-graphs-javascript/src/stack-graphs.tsg b/languages/tree-sitter-stack-graphs-javascript/src/stack-graphs.tsg index 4e82e857d..d7faf39f2 100644 --- a/languages/tree-sitter-stack-graphs-javascript/src/stack-graphs.tsg +++ b/languages/tree-sitter-stack-graphs-javascript/src/stack-graphs.tsg @@ -3184,9 +3184,6 @@ inherit .return_or_yield edge @new_expr.value -> new_expr_guard_this edge new_expr_guard_this -> new_expr_call - ; value coming from the field decls in the class - edge @new_expr.value -> @constructor.value - ; value also coming from the prototype node guard_prototype attr (guard_prototype) push_symbol = "GUARD:PROTOTYPE" @@ -4476,7 +4473,7 @@ inherit .return_or_yield edge pop_default_guard -> @right.value ;; For ES6 interoperability, expose members as named exports - attr (pop_dot) pop_symbol = "GAURD:MEMBER" + attr (pop_dot) pop_symbol = "GUARD:MEMBER" edge @assignment_expr.exports -> pop_dot edge pop_dot -> @right.value