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) decoder: Ensure empty objects & tuples still get collected as targets #330

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Oct 6, 2023

As reported in hashicorp/vscode-terraform#1576 we previously did not collect empty objects and tuples as targets, which caused us to raise this as diagnostics that wasn't relevant.

This PR fixes it and adds some additional tests for some other types just to ensure that we don't introduce similar problem in the future there either.

Before

2023-10-06 10 33 30

After

2023-10-06 10 32 30

Copy link
Contributor

@jpogran jpogran left a comment

Choose a reason for hiding this comment

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

straightforward :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants