diff options
Diffstat (limited to 'tests/hover_test.odin')
| -rw-r--r-- | tests/hover_test.odin | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 8a54ad4..842360b 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5852,6 +5852,19 @@ ast_hover_propagate_docs_alias_in_package_override :: proc(t: ^testing.T) { test.expect_hover(t, &source, "my_package.bar :: proc()\n Overridden\n\n// Comment!") } +@(test) +ast_hover_deferred_attributes :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + foo :: proc() {} + + @(deferred_in = fo{*}o) + bar :: proc() {} + `, + } + test.expect_hover(t, &source, "test.foo :: proc()") +} + /* Waiting for odin fix |