Revert "Add dependency visiting methods to BottomUpMutatorContext"
This reverts commit a2b2080fcd12b9ea302ef9717605aa20abfa6f73.
Dependency visiting methods conflict with the dependency adding methods
already present on BottomUpMutatorContext - mixing calls to visit
dependencies and adding dependencies produces requires hard-to-define
semantics, and complicates parallizing mutators.
Change-Id: I2f793c8db45b97f4d79badc9fe88315fe38d90cd
diff --git a/module_ctx.go b/module_ctx.go
index 845b0a0..5cc25c9 100644
--- a/module_ctx.go
+++ b/module_ctx.go
@@ -460,7 +460,7 @@
}
type BottomUpMutatorContext interface {
- TopDownMutatorContext
+ baseMutatorContext
AddDependency(module Module, tag DependencyTag, name ...string)
AddReverseDependency(module Module, tag DependencyTag, name string)