Side-effect: Because interfaces are now type-checked in reverse order, cycle errors in interface declarations appear at the "end" rather than at the "beginning" of the cycle in the source code. This is harmless. Eventually we may want to do dependency order determination and thus cycle detection for all types before fully type-checking them, which might simplify some code and also produce consistently positioned cycle errors again. Fixes golang/go#7158. LGTM=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/83640043 |
||
|---|---|---|
| .. | ||
| callgraph | ||
| exact | ||
| gccgoimporter | ||
| gcimporter | ||
| importer | ||
| loader | ||
| pointer | ||
| ssa | ||
| types | ||
| vcs | ||