diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-11-13 04:05:46 -0500 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-11-13 04:16:47 -0500 |
| commit | d806b5fe037de83a21d5a68d3e8f71a4b13d4b37 (patch) | |
| tree | 6b4e408487934eaf2cdd2ca95234346defbd82d4 /src/server/collector.odin | |
| parent | b2efc8f7789d2e51259d8d37da7bf59182b185fc (diff) | |
Add docs for local value decls
Diffstat (limited to 'src/server/collector.odin')
| -rw-r--r-- | src/server/collector.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/collector.odin b/src/server/collector.odin index 3491f63..f082b73 100644 --- a/src/server/collector.odin +++ b/src/server/collector.odin @@ -705,7 +705,7 @@ collect_symbols :: proc(collection: ^SymbolCollection, file: ast.File, uri: stri symbol.range = common.get_token_range(expr.name_expr, file.src) symbol.name = get_index_unique_string(collection, name) symbol.type = token_type - symbol.doc = get_doc(expr.name_expr, expr.docs, collection.allocator) + symbol.doc = get_doc(expr.docs, collection.allocator) symbol.uri = get_index_unique_string(collection, uri) symbol.type_expr = clone_type(expr.type_expr, collection.allocator, &collection.unique_strings) symbol.value_expr = clone_type(expr.value_expr, collection.allocator, &collection.unique_strings) |