Skip to content

Fix "Duplicate Local Variables in Object Scope"#234

Merged
stephenamar-db merged 1 commit intomasterfrom
duplicatelocal
Dec 12, 2024
Merged

Fix "Duplicate Local Variables in Object Scope"#234
stephenamar-db merged 1 commit intomasterfrom
duplicatelocal

Conversation

@stephenamar-db
Copy link
Copy Markdown
Collaborator

Fixes #178

Copy link
Copy Markdown
Contributor

@JoshRosen JoshRosen left a comment

Choose a reason for hiding this comment

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

LGTM! Looks like the implementation here is consistent with the pre-existing logic for detecting duplicate function parameters or duplicate object members.

@stephenamar-db stephenamar-db merged commit 29bcc9a into master Dec 12, 2024
@stephenamar-db stephenamar-db deleted the duplicatelocal branch December 12, 2024 06:43
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.

sjsonnet accepts duplicate local variables whereas jsonnet doesn't

2 participants