Skip to content

Commit

Permalink
Merge pull request #687 from uber/edwin.revert
Browse files Browse the repository at this point in the history
Revert "Fix entries in build.yaml being order dependent"
  • Loading branch information
edwinzg authored Mar 4, 2020
2 parents f4996c7 + 95925e2 commit cb342ff
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions codegen/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,21 +641,21 @@ func (system *ModuleSystem) ResolveModules(
)
}
}
}

// Resolve dependencies for all classes
resolveErr := system.populateResolvedDependencies(
resolvedModules[className],
resolvedModules,
)
if resolveErr != nil {
return nil, resolveErr
}
// Resolve dependencies for all classes
resolveErr := system.populateResolvedDependencies(
resolvedModules[className],
resolvedModules,
)
if resolveErr != nil {
return nil, resolveErr
}

// Resolved recursive dependencies for all classes
recursiveErr := system.populateRecursiveDependencies(resolvedModules[className])
if recursiveErr != nil {
return nil, recursiveErr
// Resolved recursive dependencies for all classes
recursiveErr := system.populateRecursiveDependencies(resolvedModules[className])
if recursiveErr != nil {
return nil, recursiveErr
}
}
}

Expand Down

0 comments on commit cb342ff

Please sign in to comment.