()
| 76 | var _ error = &circularDepError{} |
| 77 | |
| 78 | func (c circularDepError) Error() string { |
| 79 | return fmt.Sprintf("circular dependency: %s", strings.Join(c.names, "->")) |
| 80 | } |
| 81 | |
| 82 | func newCircularDependencyError(pred ast.PredicateSym, parent *circularDepError) circularDepError { |
| 83 | return circularDepError{names: []string{pred.Symbol}} |
no outgoing calls