terraform/internal/repl
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
..
testdata/config-fixture Move repl/ to internal/repl/ 2021-05-17 14:09:07 -07:00
format.go cli: Prevent overuse of console-only type function 2022-02-09 17:43:54 -05:00
format_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
repl.go Move repl/ to internal/repl/ 2021-05-17 14:09:07 -07:00
session.go lang: Further limit the console-only type function 2022-02-10 06:12:58 -05:00
session_test.go lang: Further limit the console-only type function 2022-02-10 06:12:58 -05:00