aboutsummaryrefslogtreecommitdiff
path: root/src/server/symbol.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-30 20:56:42 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-30 21:03:39 -0400
commita1578111de566bfc524a7f7ac0846da58a06c07b (patch)
tree1a8fa6c41c0c22aba7582e51abe272f70dd6ee9b /src/server/symbol.odin
parente9a88954b6df0e72b19a0ec6af92e8d24a200511 (diff)
Collect global comp lit fields and add them to workspace and document symbols
Diffstat (limited to 'src/server/symbol.odin')
-rw-r--r--src/server/symbol.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin
index 3a4b7c6..2090f3b 100644
--- a/src/server/symbol.odin
+++ b/src/server/symbol.odin
@@ -162,6 +162,8 @@ SymbolPolyTypeValue :: struct {
*/
SymbolGenericValue :: struct {
expr: ^ast.Expr,
+ field_names: []string,
+ ranges: []common.Range,
}
SymbolValue :: union {