Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit e4fa215

Browse files
committed
Point implicit this at the class name.
1 parent 5111107 commit e4fa215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages/tree-sitter-stack-graphs-java/src/stack-graphs.tsg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
110110

111111
edge @class.lexical_scope -> this__expr_def
112112

113-
attr (this__expr_def) pop_symbol = "this", source_node = @class, empty_source_span
113+
attr (this__expr_def) pop_symbol = "this", source_node = @name, empty_source_span
114114
edge this__expr_def -> @class.type
115115

116116
attr (@class.type) pop_symbol = ":"

0 commit comments

Comments
 (0)