Skip to content

Commit 80c2c2b

Browse files
committed
update comment wording
1 parent 8c5175a commit 80c2c2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/fromproto5/arguments_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func ArgumentsData(ctx context.Context, arguments []*tfprotov5.DynamicValue, def
133133
}
134134

135135
if definition.VariadicParameter != nil {
136-
// Variadic parameters are represented as a TupleType where each element is the same element type.
136+
// Variadic parameters are represented as a TupleType where each element type of the tuple matches the variadic parameter type.
137137
//
138138
// This is intentional and meant to match how variadic arguments are handled by Terraform core,
139139
// where the variadic parameter type constraint is applied to each argument individually.

internal/fromproto6/arguments_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func ArgumentsData(ctx context.Context, arguments []*tfprotov6.DynamicValue, def
133133
}
134134

135135
if definition.VariadicParameter != nil {
136-
// Variadic parameters are represented as a TupleType where each element is the same element type.
136+
// Variadic parameters are represented as a TupleType where each element type of the tuple matches the variadic parameter type.
137137
//
138138
// This is intentional and meant to match how variadic arguments are handled by Terraform core,
139139
// where the variadic parameter type constraint is applied to each argument individually.

0 commit comments

Comments
 (0)