diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-10-08 05:40:15 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-10-08 05:40:15 -0400 |
| commit | bc83e2ccf93557322fcc0c7850fddfdd3123ca62 (patch) | |
| tree | 15377b68eaf95ef58ccbe90d4b6f7308591ad99e /tests | |
| parent | 4c35d28c47e082a3a7bb38cd0c98d6def71e9637 (diff) | |
Add missing / in typeid specialization documentation
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/hover_test.odin | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 08c6870..cffd779 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5197,6 +5197,17 @@ ast_hover_enum_in_bitset_within_call_expr :: proc(t: ^testing.T) { } test.expect_hover(t, &source, "test.Foo: .A") } + +@(test) +ast_hover_typeid_with_specialization :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + + foo{*} :: proc($T: typeid/[]$E) {} + `, + } + test.expect_hover(t, &source, "test.foo :: proc($T: typeid/[]$E)") +} /* Waiting for odin fix |