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

Update spec.md to avoid suggesting ! is a binary operator #550

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

ascopes
Copy link
Contributor

@ascopes ascopes commented Aug 28, 2022

The current spec appears to suggest that the bang is a binary operator, which would enable
expressions such as foo ! bar.

https://github.com/hashicorp/hcl/blob/main/hclsyntax/parser.go#L1070 seems to suggest this is only
a unary operator.

The current spec appears to suggest that the bang is a binary operator, which would enable
expressions such as `foo ! bar`.

https://github.com/hashicorp/hcl/blob/main/hclsyntax/parser.go#L1070 seems to suggest this is only
a unary operator.
@hashicorp-cla
Copy link

hashicorp-cla commented Aug 28, 2022

CLA assistant check
All committers have signed the CLA.

@alisdair
Copy link
Contributor

Thanks!

@alisdair alisdair merged commit 70c5272 into hashicorp:main Jan 30, 2023
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.

3 participants