From 99d3ef42e9dd047e4aeb463c2e16bdabf2a349e5 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 22 May 2019 14:07:25 -0400 Subject: [PATCH] lang: Name the expr call graph differently It was wrongly named func instead of call, although this doesn't actually matter in terms of code execution. --- lang/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/structs.go b/lang/structs.go index 4f59dfd2..e42c9111 100644 --- a/lang/structs.go +++ b/lang/structs.go @@ -5400,7 +5400,7 @@ func (obj *ExprCall) Unify() ([]interfaces.Invariant, error) { // children might. This returns a graph with a single vertex (itself) in it, and // the edges from all of the child graphs to this. func (obj *ExprCall) Graph() (*pgraph.Graph, error) { - graph, err := pgraph.NewGraph("func") + graph, err := pgraph.NewGraph("call") if err != nil { return nil, errwrap.Wrapf(err, "could not create graph") }