Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return when resolving futures #60

Merged
merged 1 commit into from
Jul 10, 2021
Merged

Return when resolving futures #60

merged 1 commit into from
Jul 10, 2021

Conversation

meraymond2
Copy link
Owner

@meraymond2 meraymond2 commented Jul 5, 2021

This came up while investigating a — I believe — unrelated issue around hovering. I noticed when watching the debug logs for hover that it was being very noisy. This is because when the subject of the hover wasn't valid, I was resolving the Promise early, but not returning early, so it would still make the call to the ide process. I don't believe this was enough to cause serious lag, but it's still undesirable.

@meraymond2
Copy link
Owner Author

There is another issue that I noticed here, where the type-at is returning completely wrong answers.

<< 00001c((:type-of "cast" 41 12) 7)
>> (:return (:ok "i : Nat") 7)

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.

None yet

1 participant