hclwrite: Fix NewExpressionAbsTraversal signature
It is still not implemented, but at least now it is declared with the correct return type.
This commit is contained in:
parent
c8c208e083
commit
59bb5c2670
@ -40,7 +40,7 @@ func NewExpressionLiteral(val cty.Value) *Expression {
|
||||
|
||||
// NewExpressionAbsTraversal constructs an expression that represents the
|
||||
// given traversal, which must be absolute or this function will panic.
|
||||
func NewExpressionAbsTraversal(traversal hcl.Traversal) {
|
||||
func NewExpressionAbsTraversal(traversal hcl.Traversal) *Expression {
|
||||
panic("NewExpressionAbsTraversal not yet implemented")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user