09f9e6c8e8
Previously we were detecting the exactly-one-part case at parse time and skipping the TemplateExpr node in the AST, but this was problematic because we then misaligned the source range for the expression to the _content_ of the quotes, rather than including the quotes themselves. As well as producing confusing diagnostics, this also caused problems for zclwrite since it relies on source ranges to map our AST back onto the source tokens it came from. |
||
---|---|---|
.. | ||
hclhil | ||
json | ||
zclsyntax | ||
diagnostic_text_test.go | ||
diagnostic_text.go | ||
diagnostic.go | ||
didyoumean.go | ||
doc.go | ||
eval_context.go | ||
merged_test.go | ||
merged.go | ||
ops.go | ||
pos.go | ||
schema.go | ||
structure.go | ||
traversal.go |