Update github.com/hashicorp/hil

includes fix for #9282
This commit is contained in:
James Bardin 2016-10-12 16:24:51 -04:00
parent 961c8f9d97
commit 86715617ec
2 changed files with 10 additions and 5 deletions

View File

@ -13,6 +13,11 @@ type Index struct {
} }
func (n *Index) Accept(v Visitor) Node { func (n *Index) Accept(v Visitor) Node {
// the Key may have further interpolations
switch n.Key.(type) {
case *Call, *VariableAccess:
n.Key = n.Key.Accept(v)
}
return v(n) return v(n)
} }

10
vendor/vendor.json vendored
View File

@ -1234,14 +1234,14 @@
{ {
"checksumSHA1": "OrnLOmhc0FcHYs02wtbu1siIsnM=", "checksumSHA1": "OrnLOmhc0FcHYs02wtbu1siIsnM=",
"path": "github.com/hashicorp/hil", "path": "github.com/hashicorp/hil",
"revision": "227af97932d6a832b7d50a82cb1d72ddebecb9ae", "revision": "37d5c183ca6a28a9177e5a375a3f0f3663160742",
"revisionTime": "2016-08-18T19:04:49Z" "revisionTime": "2016-10-12T19:56:11Z"
}, },
{ {
"checksumSHA1": "UICubs001+Q4MsUf9zl2vcMzWQQ=", "checksumSHA1": "2NAuBxZXtp0e9orDclwc5ucnTSw=",
"path": "github.com/hashicorp/hil/ast", "path": "github.com/hashicorp/hil/ast",
"revision": "1e86c6b523c55d1fa6c6e930ce80b548664c95c2", "revision": "37d5c183ca6a28a9177e5a375a3f0f3663160742",
"revisionTime": "2016-07-11T23:18:37Z" "revisionTime": "2016-10-12T19:56:11Z"
}, },
{ {
"path": "github.com/hashicorp/logutils", "path": "github.com/hashicorp/logutils",