hcl/hclsyntax
Alisdair McDiarmid b857e806ff hclsyntax: Fix panic when expanding marked funargs
Functions which accept multiple parameters can be called with the
expansion operator, `...`. When doing so, we must unmark the expanded
argument value before transforming it into a collection of function
arguments. To ensure that any marks applied to the collection are
preserved, we transfer the collection marks to the individual elements
as we build the argument list.
2020-12-09 15:00:19 -05:00
..
fuzz Update other fuzz docs for consistency 2020-05-14 15:03:29 -04:00
diagnostics.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
didyoumean.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
didyoumean_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
doc.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
expression.go hclsyntax: Fix panic when expanding marked funargs 2020-12-09 15:00:19 -05:00
expression_ops.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
expression_static_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
expression_template.go hclsyntax: Pass marks through template expressions 2020-09-22 15:19:46 -04:00
expression_template_test.go hclsyntax: Test for interpolating from marked map 2020-09-24 12:46:39 -04:00
expression_test.go hclsyntax: Fix panic when expanding marked funargs 2020-12-09 15:00:19 -05:00
expression_vars.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
expression_vars_gen.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
file.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
generate.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
keywords.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
navigation.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
navigation_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
node.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
parse_traversal_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
parser.go hclsyntax: Explicit AST node for parentheses 2020-12-02 12:03:00 -08:00
parser_template.go Use Unicode 12.0.0 grapheme cluster segmentation rules 2020-03-09 09:16:33 -07:00
parser_test.go hclsyntax: Source range of IndexExpr must cover whole expression 2019-12-06 09:09:18 -08:00
parser_traversal.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
peeker.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
peeker_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
public.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
public_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_string_lit.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_string_lit.rl Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_string_lit_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_tokens.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_tokens.rl Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
scan_tokens_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
spec.md hclsyntax: Correct spec to allow colons as object element delimiter 2020-03-05 09:51:26 -08:00
structure.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
structure_at_pos.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
structure_at_pos_test.go hclsyntax: Explicit AST node for parentheses 2020-12-02 12:03:00 -08:00
structure_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
token.go hclsyntax: Tailored error for "curly quotes" 2020-08-24 11:35:03 -07:00
token_test.go hclsyntax: Tailored error for "curly quotes" 2020-08-24 11:35:03 -07:00
token_type_string.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
unicode2ragel.rb Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
unicode_derived.rl Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
variables.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
variables_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
walk.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
walk_test.go hclsyntax: Explicit AST node for parentheses 2020-12-02 12:03:00 -08:00