diff options
Diffstat (limited to 'tests/hover_test.odin')
| -rw-r--r-- | tests/hover_test.odin | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin index 17f7c14..20ef118 100644 --- a/tests/hover_test.odin +++ b/tests/hover_test.odin @@ -5541,6 +5541,21 @@ ast_hover_array_elem_local_scope :: proc(t: ^testing.T) { } test.expect_hover(t, &source, "test.foo: int") } + +@(test) +ast_hover_array_of_array_type_x_elem_local_scope :: proc(t: ^testing.T) { + source := test.Source { + main = `package test + main :: proc() { + Array :: [2]int + Array_2 :: [2]Array + array_2: Array_2 + f{*}oo := array_2.x + } + `, + } + test.expect_hover(t, &source, "test.foo: [2]int") +} /* Waiting for odin fix |