terraform/lang
James Bardin 81e04c3050 more precise type handling in slice
When slicing a list containing unknown values, the list itself is known,
and slice should return the proper slice of that list.

Make SliceFunc return the correct type for slices of tuples, and
disallow slicing sets.
2019-05-01 16:57:02 -04:00
..
blocktoattr lang/blocktoattr: Apply fixup within already-fixed-up blocks too 2019-04-05 14:22:41 -07:00
funcs more precise type handling in slice 2019-05-01 16:57:02 -04:00
testdata/functions-test lang/funcs: add acc tests for functions (#21112) 2019-04-29 13:11:28 -04:00
data.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
data_test.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval.go lang: EvalBlock should use ReferencesInBlock 2019-04-03 15:57:17 -07:00
eval_test.go lang: EvalBlock should use ReferencesInBlock 2019-04-03 15:57:17 -07:00
functions.go lang/funcs: add 'strrev' interpolation function. (#21091) 2019-04-24 14:52:39 -04:00
functions_test.go * lang/funcs/flatten: accept sets and tuples, return tuples 2019-05-01 10:19:40 -04:00
references.go lang: Detect references when a list/set attr is defined using blocks 2019-03-28 10:41:01 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00