Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

internal/gps: fix case mismatch error with multiple dependers #1233

Merged
merged 1 commit into from
Oct 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/gps/solve_failures.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (e *caseMismatchFailure) Error() string {
var buf bytes.Buffer

str := "Could not introduce %s due to a case-only variation: it depends on %q, but %q was already established as the case variant for that project root by the following other dependers:\n"
fmt.Fprintf(&buf, str, e.goal.dep.Ident.ProjectRoot, e.current, a2vs(e.goal.depender))
fmt.Fprintf(&buf, str, a2vs(e.goal.depender), e.goal.dep.Ident.ProjectRoot, e.current)

for _, c := range e.failsib {
fmt.Fprintf(&buf, "\t%s\n", a2vs(c.depender))
Expand Down