Update comment to reflect new code

This commit is contained in:
Pam Selle 2020-04-07 06:20:30 -04:00
parent 6962562a78
commit 66a9c51f74

View File

@ -75,7 +75,7 @@ func (n *EvalModuleCallArgument) Eval(ctx EvalContext) (interface{}, error) {
scope := ctx.EvaluationScope(nil, moduleInstanceRepetitionData)
val, diags := scope.EvalExpr(expr, cty.DynamicPseudoType)
// We intentionally passed DynamicPseudoType to EvaluateExpr above because
// We intentionally passed DynamicPseudoType to EvalExpr above because
// now we can do our own local type conversion and produce an error message
// with better context if it fails.
var convErr error