Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

fix completion types in built-in async functions #241

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

bakkot
Copy link
Collaborator

@bakkot bakkot commented Sep 26, 2022

Missed a bit of wiring in #240.

Specifically, AsyncBlockStart is written to handle ES functions, meaning it expects return completions. Built-in functions don't need the return completion tracking at all, so they return normal completions containing values. We need to translate between the two.

@bakkot
Copy link
Collaborator Author

bakkot commented Sep 26, 2022

I guess we could put this logic in AsyncBlockStart instead? Might make more sense there.

@michaelficarra michaelficarra merged commit 1a62585 into main Oct 10, 2022
@michaelficarra michaelficarra deleted the async-function-return branch October 10, 2022 22:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants