From ddd6485f6ea68e445ee893721b2696aa2ab91bc4 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sat, 19 Jul 2025 19:36:42 -0400 Subject: Add proc directives to hover information --- tests/hover_test.odin | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/hover_test.odin b/tests/hover_test.odin index df7aeae..4f81238 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -2803,6 +2803,16 @@ ast_hover_proc_calling_convention :: proc(t: ^testing.T) { } test.expect_hover(t, &source, "test.foo: proc \"contextless\" (a: int)") } + +@(test) +ast_hover_proc_directives :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + f{*}oo :: proc(a: int) #no_bounds_check {} + `, + } + test.expect_hover(t, &source, "test.foo: proc(a: int) #no_bounds_check") +} /* Waiting for odin fix -- cgit v1.2.3