aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 22:35:37 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-13 22:35:37 -0400
commit963411cf80140f1231f3b17d76c68d09655ebef4 (patch)
treea11d30a333c1a6f491d93a4212ca96af7d5b62af /tests
parente9a3c436d6fc23a1622e59394aff1c34762b2482 (diff)
Revert "Merge pull request #1010 from BradLewis/fix/completions-selector-in-selector-call"
This reverts commit a581608407b82b4816b7fbbe29da97c55c53c33e, reversing changes made to a697921c2556eb14f10fb54117f83dca4fffd027.
Diffstat (limited to 'tests')
-rw-r--r--tests/completions_test.odin28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/completions_test.odin b/tests/completions_test.odin
index 303fd64..d3a2eb7 100644
--- a/tests/completions_test.odin
+++ b/tests/completions_test.odin
@@ -4698,31 +4698,3 @@ ast_completion_struct_field_value :: proc(t: ^testing.T) {
}
test.expect_completion_docs(t, &source, "", {"test.Foo: struct {}"})
}
-
-@(test)
-ast_completion_selector_within_selector_call_expr :: proc(t: ^testing.T) {
- source := test.Source {
- main = `package test
-
- Data :: struct {
- x, y: int,
- }
-
- IFoo :: struct {
- bar: proc(self: IFoo, x: int),
- }
-
- print :: proc(self: IFoo, x: int) {}
-
- main :: proc() {
- data := Data{}
- foo := IFoo {
- bar = print,
- }
-
- foo->bar(data.x{*})
- }
- `,
- }
- test.expect_completion_docs(t, &source, "", {"Data.x: int", "Data.y: int"})
-}