Merge "CreateModule also inherits variableProperties."

This commit is contained in:
Treehugger Robot
2019-09-09 17:16:22 +00:00
committed by Gerrit Code Review

View File

@@ -244,8 +244,8 @@ func (t *topDownMutatorContext) Rename(name string) {
} }
func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) { func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) {
common := []interface{}{&t.Module().base().commonProperties} inherited := []interface{}{&t.Module().base().commonProperties, &t.Module().base().variableProperties}
t.bp.CreateModule(factory, append(common, props...)...) t.bp.CreateModule(factory, append(inherited, props...)...)
} }
func (b *bottomUpMutatorContext) MutatorName() string { func (b *bottomUpMutatorContext) MutatorName() string {