diff options
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 |