commit | 11bcca909896598024a68da33fc0fb8e419b2644 | [log] [tgz] |
---|---|---|
author | jgennis <jgennis@gmail.com> | Tue Mar 31 15:28:10 2015 -0700 |
committer | jgennis <jgennis@gmail.com> | Tue Mar 31 15:28:10 2015 -0700 |
tree | d8c2cdeaee0aa6e634835cf0f7e503e49f17bdaa | |
parent | 91d25f2c551daa636c0a81831d48ec8d2ccc230d [diff] | |
parent | 0e4607e78881d6d32ee1ca5b28c5603cf372127e [diff] |
Merge pull request #15 from colincross/cycle Fix cycle printing
diff --git a/context.go b/context.go index 08fbc13..73b5e35 100644 --- a/context.go +++ b/context.go
@@ -1177,7 +1177,7 @@ }) // Iterate backwards through the cycle list. - curModule := cycle[len(cycle)-1] + curModule := cycle[0] for i := len(cycle) - 1; i >= 0; i-- { nextModule := cycle[i] errs = append(errs, &Error{