From d806b5fe037de83a21d5a68d3e8f71a4b13d4b37 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Thu, 13 Nov 2025 04:05:46 -0500 Subject: Add docs for local value decls --- tests/hover_test.odin | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests') diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 8a41efc..6ecfbd9 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5599,6 +5599,19 @@ ast_hover_index_function_call :: proc(t: ^testing.T) { } test.expect_hover(t, &source, "test.x: int") } + +@(test) +ast_hover_local_proc_docs :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + main :: proc() { + // foo doc + f{*}oo :: proc() {} + } + `, + } + test.expect_hover(t, &source, "test.foo :: proc()\n foo doc") +} /* Waiting for odin fix -- cgit v1.2.3