aboutsummaryrefslogtreecommitdiff
path: root/src/server/documentation.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2026-01-24 09:27:19 +1100
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2026-01-24 09:27:19 +1100
commit00955b4ddf08c2a87a53af72b25c0108f862d95e (patch)
tree9f80c07e33cf7beba915511c47c6b2c1cefece02 /src/server/documentation.odin
parente21db4a48e04e558e0aa3a46e0bd7668168714e1 (diff)
Correctly resolve hover info for poly types in where clauses for procs
Diffstat (limited to 'src/server/documentation.odin')
-rw-r--r--src/server/documentation.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin
index 25e4140..7c26a37 100644
--- a/src/server/documentation.odin
+++ b/src/server/documentation.odin
@@ -848,6 +848,9 @@ write_symbol_name :: proc(sb: ^strings.Builder, symbol: Symbol) {
} else if pkg != "" && pkg != "$builtin" {
fmt.sbprintf(sb, "%v.", pkg)
}
+ if .PolyType in symbol.flags {
+ strings.write_string(sb, "$")
+ }
strings.write_string(sb, symbol.name)
}