Kristin Laemmert
d9969e8731
hclsyntax: do not panic when encountering a null + sequence (...)
...
Previously functions such as concat() would result in a panic if there
was a null element and a sequence, as in the included test. This PR adds
a check if the error index is outside of the range of arguments and
crafts an error that references the entire function instead of the null
argument.
2020-06-03 09:13:36 -04:00
..
2020-05-14 15:03:29 -04:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-10-01 15:59:10 -07:00
2019-09-09 16:08:19 -07:00
2020-06-03 09:13:36 -04:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2020-06-03 09:13:36 -04:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2020-03-09 09:16:33 -07:00
2019-12-06 09:09:18 -08:00
2019-09-09 16:08:19 -07:00
2020-05-13 16:23:21 -04:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2020-03-05 09:51:26 -08:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2020-03-09 09:16:33 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00
2019-09-09 16:08:19 -07:00