opentofu/internal/command/format
Martin Atkins 31aee9650e command/format: Include function call information in diagnostics
When an error occurs in a function call, the error message text often
includes references to particular parameters in the function signature.

This commit improves that reporting by also including a summary of the
full function signature as part of the diagnostic context in that case,
so a reader can see which parameter is which given that function
arguments are always assigned positionally and so the parameter names
do not appear in the caller's source code.
2022-06-23 13:52:23 -07:00
..
diagnostic_test.go command/format: Include function call information in diagnostics 2022-06-23 13:52:23 -07:00
diagnostic.go command/format: Include function call information in diagnostics 2022-06-23 13:52:23 -07:00
diff_test.go core: Report reason for deferring data read until apply 2022-05-09 11:12:47 -07:00
diff.go core: Report reason for deferring data read until apply 2022-05-09 11:12:47 -07:00
difflanguage_string.go cli: Refactor resource drift rendering 2021-09-16 15:22:37 -04:00
format.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
object_id_test.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
object_id.go unmark object ID or Name for formatting 2021-08-17 12:24:43 -04:00
state_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
state.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
trivia.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00