Skip to content

fix: allow resolving context-dot for async functions#6085

Draft
christoph-dfinity wants to merge 1 commit intomasterfrom
christoph/async-context-dot
Draft

fix: allow resolving context-dot for async functions#6085
christoph-dfinity wants to merge 1 commit intomasterfrom
christoph/async-context-dot

Conversation

@christoph-dfinity
Copy link
Copy Markdown
Contributor

@christoph-dfinity christoph-dfinity commented May 5, 2026

By hardcoding the scope to None before, we made it so async functions would never be resolved for context-dot.

Threading the scope through fixes that.

Reported by @timohanke

@Kamirus I didn't see an obvious way to get a hold of a scope for the context dot suggestions in the LSP, so for now completions for async functions won't appear.

TODO:

  • Check with Claudio if this is sound
  • run/run-drun tests

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.

1 participant