Skip to content

v2.8.0

Compare
Choose a tag to compare
@pselle pselle released this 07 Dec 19:37
3231752

Enhancements

  • hclsyntax: Expression grouping parentheses will now be reflected by an explicit node in the AST, whereas before they were only considered during parsing. (#426)

Bugs Fixed

  • hclwrite: The parser will now correctly include the ( and ) tokens when an expression is surrounded by parentheses. Previously it would incorrectly recognize those tokens as being extraneous tokens outside of the expression. (#426)
  • hclwrite: The formatter will now remove (rather than insert) spaces between the ! (unary boolean "not") operator and its subsequent operand. (#403)
  • hclsyntax: Unmark conditional values in expressions before checking their truthfulness (#427)