hcl/gohcl
Mateusz Gozdek e3e49cc099
gohcl/decode.go: fix decoding value slices
Currently, if user tries to decode such scenario, it results in
"slice index out of range".

Fixes regression introduced in 42351b1d15.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
2020-01-15 13:45:37 +01:00
..
decode_test.go gohcl/decode.go: fix decoding value slices 2020-01-15 13:45:37 +01:00
decode.go gohcl/decode.go: fix decoding value slices 2020-01-15 13:45:37 +01:00
doc.go gohcl: EncodeIntoBody and EncodeAsBlock functions 2018-11-04 01:16:51 +00:00
encode_test.go Change module path to github.com/hashicorp/hcl/v2 2019-09-09 15:46:40 -07:00
encode.go Change module path to github.com/hashicorp/hcl/v2 2019-09-09 15:46:40 -07:00
schema_test.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
schema.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00
types.go Unfold the "hcl" directory up into the root 2019-09-09 16:08:19 -07:00