aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlujaire <luigi@ljre.cc>2024-07-03 15:50:56 -0300
committerlujaire <luigi@ljre.cc>2024-07-03 15:50:56 -0300
commitaa435ccf75aff11f4bc3d54fb16ecf3a3991f79b (patch)
tree16cf72676deaac0a7279283dfe0885129b4b47f5 /tests
parent5d840d27473ab1d1eff524da438d354fba74612f (diff)
Fix extraneous .Type semantic tokens
Diffstat (limited to 'tests')
-rw-r--r--tests/semantic_tokens_test.odin11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/semantic_tokens_test.odin b/tests/semantic_tokens_test.odin
index aff7788..21115de 100644
--- a/tests/semantic_tokens_test.odin
+++ b/tests/semantic_tokens_test.odin
@@ -26,11 +26,10 @@ my_function :: proc() {
{0, 3, 6, .Type, {.ReadOnly}}, // [2] string
{0, 11, 3, .Type, {.ReadOnly}}, // [3] int
{1, 0, 11, .Function, {.ReadOnly}}, // [4] my_function
- {0, 0, 11, .Type, {.ReadOnly}}, // [5] !!! WRONG !!!
- {1, 1, 1, .Variable, {}}, // [6] a
- {1, 1, 1, .Variable, {}}, // [7] b
- {0, 5, 1, .Variable, {}}, // [8] a
- {1, 1, 1, .Variable, {}}, // [9] c
- {0, 9, 1, .Variable, {}}, // [10] b
+ {1, 1, 1, .Variable, {}}, // [5] a
+ {1, 1, 1, .Variable, {}}, // [6] b
+ {0, 5, 1, .Variable, {}}, // [7] a
+ {1, 1, 1, .Variable, {}}, // [8] c
+ {0, 9, 1, .Variable, {}}, // [9] b
})
}