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

Fix bug with optional parameters #501

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Fix bug with optional parameters #501

merged 1 commit into from
Feb 2, 2022

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Feb 2, 2022

Fixes a bug introduced in #479 that switched optional and required within the hover logic, when hovering over functions.

One small technically breaking change is renaming the FunctionType parameters from isRequired to isOptional. This aligns with the isOptional property change introduced in #479. I'm not sure if plugins utilize this feature or not, so they may need to be updated (we're still in v0 which is unstable, after all :D)

Bad:
image

Fixed:
image

@TwitchBronBron TwitchBronBron merged commit 76f528c into master Feb 2, 2022
@TwitchBronBron TwitchBronBron deleted the param-check-fix branch February 2, 2022 17:38
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

3 participants