mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-02 12:17:39 -06:00
843c50e8ce
This commit introduces a capsule type, `TypeType`, which is used to extricate type information from the console-only `type` function. In combination with the `TypeType` mark, this allows us to restrict the use of this function to top-level display of a value's type. Any other use of `type()` will result in an error diagnostic. |
||
---|---|---|
.. | ||
blocktoattr | ||
funcs | ||
marks | ||
testdata/functions-test | ||
types | ||
data_test.go | ||
data.go | ||
doc.go | ||
eval_test.go | ||
eval.go | ||
functions_test.go | ||
functions.go | ||
references.go | ||
scope.go |