terraform/internal/lang
Alisdair McDiarmid 843c50e8ce lang: Further limit the console-only type function
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.
2022-02-10 06:12:58 -05:00
..
blocktoattr refine the skipFixup heuristic 2021-09-22 16:29:50 -04:00
funcs lang: Further limit the console-only type function 2022-02-10 06:12:58 -05: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