zclsyntax: FIXME to support parent ctx in function call
This commit is contained in:
parent
9340e6da4e
commit
0cf39f0f62
@ -129,6 +129,7 @@ func (e *FunctionCallExpr) Value(ctx *zcl.EvalContext) (cty.Value, zcl.Diagnosti
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: also need to look in ctx.parent, etc
|
||||||
f, exists := ctx.Functions[e.Name]
|
f, exists := ctx.Functions[e.Name]
|
||||||
if !exists {
|
if !exists {
|
||||||
avail := make([]string, 0, len(ctx.Functions))
|
avail := make([]string, 0, len(ctx.Functions))
|
||||||
|
Loading…
Reference in New Issue
Block a user