mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
81c15f987e
If the string to be tested is an unknown value that's been refined with a prefix and the prefix we're being asked to test is in turn a prefix of that known prefix then we can return a known answer despite the inputs not being fully known. There are also some other similar deductions we can make about other combinations of inputs. This extra analysis could be useful in a custom condition check that requires a string with a particular prefix, since it can allow the condition to fail even on partially-unknown input, thereby giving earlier feedback about a problem. |
||
---|---|---|
.. | ||
blocktoattr | ||
funcs | ||
globalref | ||
marks | ||
testdata/functions-test | ||
types | ||
data_test.go | ||
data.go | ||
doc.go | ||
eval_test.go | ||
eval.go | ||
functions_descriptions_test.go | ||
functions_test.go | ||
functions.go | ||
references.go | ||
scope.go |