Skip to content

a few improvements and todo completions#1220

Open
TheBearodactyl wants to merge 6 commits into
DanielGavin:masterfrom
TheBearodactyl:master
Open

a few improvements and todo completions#1220
TheBearodactyl wants to merge 6 commits into
DanielGavin:masterfrom
TheBearodactyl:master

Conversation

@TheBearodactyl

@TheBearodactyl TheBearodactyl commented Dec 14, 2025

Copy link
Copy Markdown

Changes:

  • Optimize comment retrieval (ast.odin)
  • Provide context-specific directive completions (completion.odin)
  • Improve upon should_resolve_all_proc_overload_possibilities (analysis.odin)
  • Traverse nested fields when fuzzy searching (memory_index.odin)
  • Remove position hint dependency from polymorphic type resolution (generics.odin)

@TheBearodactyl TheBearodactyl changed the title Optimize comment retrieval and provide context-specific directive completion a few improvements and todo completions Dec 14, 2025
@TheBearodactyl

Copy link
Copy Markdown
Author

woah did not mean to do that 💀

@TheBearodactyl

Copy link
Copy Markdown
Author

one sec

@TheBearodactyl

Copy link
Copy Markdown
Author

fixed

@TheBearodactyl

Copy link
Copy Markdown
Author
image

welp, pretty sure the CI fails weren't me, so that's good

Comment thread src/server/ast.odin Outdated
@BradLewis

Copy link
Copy Markdown
Collaborator
image

welp, pretty sure the CI fails weren't me, so that's good

Actually since this working correctly on master I believe this is indeed from your changes. I have the same test failing on your branch when running locally.

@TheBearodactyl

TheBearodactyl commented Dec 15, 2025

Copy link
Copy Markdown
Author

oh, huh.
lemme try and figure out what's wrong
it is kinda weird that it's only failing on linux and macos though

@BradLewis

Copy link
Copy Markdown
Collaborator

It's actually failing on windows as well, but that doesn't fail the build 😅
image

@TheBearodactyl

Copy link
Copy Markdown
Author

HUH

@TheBearodactyl

Copy link
Copy Markdown
Author

ok i have no idea what's going on because i haven't made any changes to the hover implementation and nothing i do fixes the test

Comment thread src/server/generics.odin
Comment thread src/server/ast.odin
[dynamic]^ast.Comment_Group,
[dynamic]^ast.Comment_Group,
) {
index := build_comment_index(file)

@BradLewis BradLewis Dec 15, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment applies with this index as before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants