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.
This commit is contained in:
@@ -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
|
// children might. This returns a graph with a single vertex (itself) in it, and
|
||||||
// the edges from all of the child graphs to this.
|
// the edges from all of the child graphs to this.
|
||||||
func (obj *ExprCall) Graph() (*pgraph.Graph, error) {
|
func (obj *ExprCall) Graph() (*pgraph.Graph, error) {
|
||||||
graph, err := pgraph.NewGraph("func")
|
graph, err := pgraph.NewGraph("call")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errwrap.Wrapf(err, "could not create graph")
|
return nil, errwrap.Wrapf(err, "could not create graph")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user