diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-10-29 23:55:53 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-10-29 23:57:48 -0400 |
| commit | 2e0f171e43d44b61c60296bab45fb86846f671f0 (patch) | |
| tree | 838d91c485947fd587d8d7894c41c88fb3fb51de /tests/hover_test.odin | |
| parent | 25dafecd9238317c1534012f183dc828417e3da9 (diff) | |
Provide the resolved symbol for the proc to propagate docs and comments
Diffstat (limited to 'tests/hover_test.odin')
| -rw-r--r-- | tests/hover_test.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 2f33d73..4a99d19 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5354,7 +5354,7 @@ ast_hover_parapoly_other_package :: proc(t: ^testing.T) { append(&packages, test.Package{pkg = "my_package", source = `package my_package // Docs! - bar :: proc(_: $T) {} + bar :: proc(_: $T) {} // Comment! `}) source := test.Source { main = `package test @@ -5366,7 +5366,7 @@ ast_hover_parapoly_other_package :: proc(t: ^testing.T) { `, packages = packages[:], } - test.expect_hover(t, &source, "my_package.bar :: proc(_: $T)") + test.expect_hover(t, &source, "my_package.bar :: proc(_: $T)\n Docs!\n\n// Comment!") } /* |