terraform/internal/lang
Alisdair McDiarmid 0764726e3e functions: Fix sum() of all strings
The sum() function accepts a collection of values which must all convert
to numbers. It is valid for this to be a collection of string values
representing numbers.

Previously the function would panic if the first element of a collection
was a non-number type, as we didn't attempt to convert it to a number
before calling the cty `Add` method.
2022-03-16 08:50:06 -04:00
..
blocktoattr refine the skipFixup heuristic 2021-09-22 16:29:50 -04:00
funcs functions: Fix sum() of all strings 2022-03-16 08:50:06 -04:00
marks lang: Further limit the console-only type function 2022-02-10 06:12:58 -05:00
testdata/functions-test Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
types lang: Further limit the console-only type function 2022-02-10 06:12:58 -05:00
data.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
data_test.go addrs: Rename AbsModuleCallOutput to ModuleCallInstanceOutput 2021-07-01 08:28:02 -07:00
doc.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
eval.go core: Document postconditions as valid use of self 2022-01-31 14:34:35 -05:00
eval_test.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
functions.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
functions_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
references.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00
scope.go Move lang/ to internal/lang/ 2021-05-17 14:09:07 -07:00